diff options
| author | Menny Even Danan <menny@evendanan.net> | 2020-01-31 22:01:07 +0000 |
|---|---|---|
| committer | Menny Even Danan <menny@evendanan.net> | 2020-01-31 22:01:07 +0000 |
| commit | d88ed14124b87ffb3f210b87f1a51a30ca33dfa6 (patch) | |
| tree | 1f5594576c7a2651465d25de3f99b9ddaf3b1883 | |
| parent | 7f3e878ad358b778c0784a299f196e2123edb674 (diff) | |
| download | AnySoftKeyboard-d88ed14124b87ffb3f210b87f1a51a30ca33dfa6.tar.gz AnySoftKeyboard-d88ed14124b87ffb3f210b87f1a51a30ca33dfa6.tar.bz2 | |
deploy-dry-run should be cacheable
| -rwxr-xr-x | .github/actions/deploy/deploy.sh | 3 | ||||
| -rwxr-xr-x | .github/actions/test-shard-run/run_tests.sh | 2 | ||||
| -rw-r--r-- | .github/workflows/anysoftkeyboard.yml | 6 |
3 files changed, 7 insertions, 4 deletions
diff --git a/.github/actions/deploy/deploy.sh b/.github/actions/deploy/deploy.sh index 6a449fb75..8561111a4 100755 --- a/.github/actions/deploy/deploy.sh +++ b/.github/actions/deploy/deploy.sh @@ -29,6 +29,3 @@ fi echo "Counter is ${BUILD_COUNT_FOR_VERSION}, RELEASE_BUILD: ${RELEASE_BUILD}, crash email: ${ANYSOFTKEYBOARD_CRASH_REPORT_EMAIL}, and tasks: ${DEPLOY_TASKS}" ./scripts/ci/ci_deploy.sh "${KEYSTORE_FILE_URL}" "${PUBLISH_CERT_FILE_URL}" ${DEPLOY_TASKS} - -ls -al outputs || true -ls -al outputs/fdroid/ || true
\ No newline at end of file diff --git a/.github/actions/test-shard-run/run_tests.sh b/.github/actions/test-shard-run/run_tests.sh index 1d303889a..c98e4a58c 100755 --- a/.github/actions/test-shard-run/run_tests.sh +++ b/.github/actions/test-shard-run/run_tests.sh @@ -10,7 +10,7 @@ echo "Will run tests for module '${MODULE}' with extra args '${EXTRA_ARGS}' for ./scripts/download_robolectric_jars_to_machine.sh -./gradlew ${MODULE}testDebugUnitTest ${MODULE}testDebugUnitTestCoverage ${EXTRA_ARGS} +./gradlew "${MODULE}testDebugUnitTest" "${MODULE}testDebugUnitTestCoverage" ${EXTRA_ARGS} #see https://github.com/actions/cache/issues/133 [[ -n "${GITHUB_ACTIONS}" ]] && chmod -R a+rwx . diff --git a/.github/workflows/anysoftkeyboard.yml b/.github/workflows/anysoftkeyboard.yml index 99f4ec496..95d5f043c 100644 --- a/.github/workflows/anysoftkeyboard.yml +++ b/.github/workflows/anysoftkeyboard.yml @@ -141,6 +141,12 @@ jobs: container: menny/ndk_ask:1.13.1 steps: - uses: actions/checkout@v2 + - uses: actions/cache@v1 + with: + path: .github_cache_gradle/ + key: dry-run-deploy-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/*.gradle') }}-${{ hashFiles('buildSrc/**/*.java') }} + restore-keys: | + dry-run-deploy-gradle- - name: deploy uses: ./.github/actions/deploy with: |
