From 90b534e2eaaead6d449a2eca6b009351c4021f05 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 13 Oct 2019 11:31:47 +0530 Subject: github: Update workflow settings Signed-off-by: Harsh Shandilya --- .github/workflows/push.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to '.github/workflows') 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 -- cgit v1.2.3