aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/pull_request.yml
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-02-25 15:22:05 +0530
committerGitHub <noreply@github.com>2020-02-25 15:22:05 +0530
commitbea3cd5457e331f04a9aeb5c99267f14908f5eaa (patch)
treece86f35a1d5de1fc0e1d81f7945d47af256a59ac /.github/workflows/pull_request.yml
parent97ee48dd2527762b299c2460478afd9d22824a0d (diff)
downloadHardenedPass-bea3cd5457e331f04a9aeb5c99267f14908f5eaa.tar.gz
HardenedPass-bea3cd5457e331f04a9aeb5c99267f14908f5eaa.zip
CI workflow improvements (#642)
* github: Only run debug tasks in PRs * github: Remove nightly deploys * github: Setup automatic debug branch deployment * Tweak Gradle config in CI Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
Diffstat (limited to '.github/workflows/pull_request.yml')
-rw-r--r--.github/workflows/pull_request.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 283699b9..9d4d1f07 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -8,12 +8,15 @@ jobs:
- uses: actions/checkout@master
+ - name: Copy CI gradle.properties
+ run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
+
- uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: gradle-${{ runner.os }}-${{ hashFiles('**/build.gradle') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/dependencies.gradle') }}
- - run: ./gradlew spotlessCheck build test lintDebug -Dpre-dex=false
+ - run: ./gradlew spotlessCheck assembleDebug testDebug lintDebug -Dpre-dex=false
- uses: actions/upload-artifact@master
with: