Revert "Revert "fix(ci): disable configuration cache""

This reverts commit f7b4f4383c.
This commit is contained in:
Harsh Shandilya 2022-11-19 18:10:10 +05:30
parent f429faf8b8
commit d3a6a82b50
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: 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' }}