Skip to content

Commit 9686d88

Browse files
committed
ci: enable gradle build cache for faster builds
1 parent 926a8b4 commit 9686d88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ jobs:
6868
chmod +x gradlew
6969
if [ -f "app/release.keystore" ]; then
7070
./gradlew assembleRelease \
71-
--no-daemon --parallel \
71+
--no-daemon --parallel --build-cache \
7272
-PMYAPP_UPLOAD_STORE_FILE=release.keystore \
7373
-PMYAPP_UPLOAD_STORE_PASSWORD=$ANDROID_STORE_PASSWORD \
7474
-PMYAPP_UPLOAD_KEY_ALIAS=$ANDROID_KEY_ALIAS \
7575
-PMYAPP_UPLOAD_KEY_PASSWORD=$ANDROID_KEY_PASSWORD
7676
else
7777
echo "No keystore found, building with debug signing (or default config)"
78-
./gradlew assembleRelease --no-daemon --parallel
78+
./gradlew assembleRelease --no-daemon --parallel --build-cache
7979
fi
8080
8181
- name: Create Release

0 commit comments

Comments
 (0)