mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-13 21:56:59 +05:30
fix(ci): disable configuration cache
This commit is contained in:
parent
aaf67de8d4
commit
fa62d871f8
2 changed files with 6 additions and 6 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -26,14 +26,14 @@ jobs:
|
|||
- name: Run unit tests
|
||||
uses: gradle/gradle-build-action@3fbe033aaae657f011f88f29be9e65ed26bd29ef # tag=v2.3.3
|
||||
with:
|
||||
arguments: check -PslimTests
|
||||
arguments: --no-configuration-cache 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: detektMain
|
||||
arguments: --no-configuration-cache 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: collectReleaseApks
|
||||
arguments: --no-configuration-cache collectReleaseApks
|
||||
gradle-home-cache-cleanup: true
|
||||
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
|
||||
|
||||
|
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -38,11 +38,11 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
# Remove the `-SNAPSHOT` suffix
|
||||
./gradlew -q clearPreRelease
|
||||
./gradlew -q --no-configuration-cache clearPreRelease
|
||||
git commit -am 'feat(release): bump version'
|
||||
|
||||
# Build the release assets
|
||||
./gradlew collectReleaseApks collectReleaseBundle
|
||||
./gradlew --no-configuration-cache 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 bumpSnapshot
|
||||
./gradlew -q --no-configuration-cache bumpSnapshot
|
||||
truncate -s 0 distribution/whatsnew/whatsnew-en-GB # Clear changelog
|
||||
git commit -am 'feat(release): start next development iteration'
|
||||
git push origin main
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue