aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2019-10-13 11:31:47 +0530
committerHarsh Shandilya <msfjarvis@gmail.com>2019-10-13 11:31:47 +0530
commit90b534e2eaaead6d449a2eca6b009351c4021f05 (patch)
tree0491ac5d348deabdd54cdf9cf3b42b3e0a5b9805 /.github
parent7a80be77328b26b8c8f473ae784e91fa52978843 (diff)
github: Update workflow settings
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/push.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index cb6a55cd..8edffd42 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -1,11 +1,12 @@
-on: push
+on: [push, pull_request]
name: CI builds
jobs:
setup-android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- - name: setup-android
- uses: msfjarvis/setup-android@0.2
+ - run: ./gradlew spotlessCheck build test lintDebug -Dpre-dex=false
+ - uses: actions/upload-artifact@master
with:
- gradleTasks: spotlessCheck build test lintDebug -Dpre-dex=false
+ name: Debug APK
+ path: app/build/outputs/apk/debug/app-debug.apk