Disable configuration cache for release builds (closes bitfireAT/davx5#263) (bitfireAT/davx5#269)

This commit is contained in:
Ricki Hirner 2023-05-17 17:48:12 +02:00
parent a072cf0404
commit 7f62148c75

View file

@ -22,7 +22,9 @@ jobs:
- name: Prepare keystore
run: echo ${{ secrets.android_keystore_base64 }} | base64 -d >$GITHUB_WORKSPACE/keystore.jks
- name: Build signed package
run: ./gradlew --no-daemon app:assembleRelease
# --no-configuration-cache is only required for AboutLibraries (bitfireAT/davx5#263, mikepenz/AboutLibraries#857)
# Remove it as soon as AboutLibraries is compatbile with the gradle configuration cache.
run: ./gradlew --no-configuration-cache --no-daemon app:assembleRelease
env:
ANDROID_KEYSTORE: ${{ github.workspace }}/keystore.jks
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.android_keystore_password }}