Revert "fix(ci): disable configuration cache"

This reverts commit fa62d871f8.
This commit is contained in:
Harsh Shandilya 2022-11-19 17:30:16 +05:30
parent fb8bbf85c9
commit f7b4f4383c
No known key found for this signature in database
2 changed files with 6 additions and 6 deletions

View file

@ -26,14 +26,14 @@ jobs:
- name: Run unit tests
uses: gradle/gradle-build-action@3fbe033aaae657f011f88f29be9e65ed26bd29ef # tag=v2.3.3
with:
arguments: --no-configuration-cache check -PslimTests
arguments: check -PslimTests
gradle-home-cache-cleanup: true
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
- name: Run Detekt
uses: gradle/gradle-build-action@3fbe033aaae657f011f88f29be9e65ed26bd29ef # tag=v2.3.3
with:
arguments: --no-configuration-cache detektMain
arguments: detektMain
gradle-home-cache-cleanup: true
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
@ -66,7 +66,7 @@ jobs:
- name: Build release app
uses: gradle/gradle-build-action@3fbe033aaae657f011f88f29be9e65ed26bd29ef # tag=v2.3.3
with:
arguments: --no-configuration-cache collectReleaseApks
arguments: collectReleaseApks
gradle-home-cache-cleanup: true
cache-read-only: ${{ github.ref != 'refs/heads/main' }}

View file

@ -38,11 +38,11 @@ jobs:
shell: bash
run: |
# Remove the `-SNAPSHOT` suffix
./gradlew -q --no-configuration-cache clearPreRelease
./gradlew -q clearPreRelease
git commit -am 'feat(release): bump version'
# Build the release assets
./gradlew --no-configuration-cache collectReleaseApks collectReleaseBundle
./gradlew collectReleaseApks collectReleaseBundle
- name: Clean secrets
run: scripts/signing-cleanup.sh
@ -74,7 +74,7 @@ jobs:
gh release create "v${VERSION}" -F distribution/whatsnew/whatsnew-en-GB --title "v${VERSION}" ./android/apk/*.apk ./android/bundle/*.aab
# Start the next development iteration
./gradlew -q --no-configuration-cache bumpSnapshot
./gradlew -q bumpSnapshot
truncate -s 0 distribution/whatsnew/whatsnew-en-GB # Clear changelog
git commit -am 'feat(release): start next development iteration'
git push origin main