Enable build cache (#1149)

This commit is contained in:
Patrick Honkonen
2024-03-15 14:37:34 -04:00
committed by GitHub
parent 3508d87c99
commit 596d5ec566
4 changed files with 15 additions and 3 deletions

View File

@@ -31,7 +31,8 @@ jobs:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-v2-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
${{ github.workspace }}/build-cache
key: ${{ runner.os }}-gradle-v2-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/libs.versions.toml') }}
restore-keys: |
${{ runner.os }}-gradle-v2-
@@ -52,7 +53,7 @@ jobs:
# with the Compose testing library. Also exclude most FDroid-related tasks, as there is no
# significant code difference between builds.
run: |
./gradlew check \
./gradlew check --no-daemon \
-x testStandardRelease \
-x testFdroidDebug \
-x testFdroidRelease \