Revert "Clear and generate new cache only when merging to develop" (#2550)

This reverts commit ab504a6095.
This commit is contained in:
Jorge Martin Espinosa 2024-03-14 13:34:19 +01:00 committed by GitHub
parent 0c31b05113
commit 179579d5e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 34 additions and 1 deletions

View file

@ -47,7 +47,6 @@ jobs:
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
gradle-home-cache-cleanup: ${{ github.ref == 'refs/heads/develop' }}
- name: ⚙️ Run unit tests, debug and release
run: ./gradlew test $CI_GRADLE_ARG_PROPERTIES