diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4383a865..96b307db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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' }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 08fa6605..8bc4348a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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