Skip to content

Commit 158442c

Browse files
committed
Revert "disabled cache for jib build tasks"
This reverts commit 21c04e8.
1 parent 21c04e8 commit 158442c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build_test_package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ jobs:
224224
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
225225
uses: gradle/gradle-build-action@v2
226226
with:
227-
cache-disabled: true
227+
cache-disabled: false
228228
# Cache storage space is limited for GitHub actions
229-
# cache-read-only: ${{ github.ref != 'refs/heads/main' }}
229+
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
230230
arguments: |
231231
:cosmotech-api:jib
232232
-Djib.to.image=localhost:5000/cosmotech-api:latest
@@ -301,9 +301,9 @@ jobs:
301301
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
302302
uses: gradle/gradle-build-action@v2
303303
with:
304-
cache-disabled: true
304+
cache-disabled: false
305305
# Cache storage space is limited for GitHub actions
306-
# cache-read-only: ${{ github.ref != 'refs/heads/main' }}
306+
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
307307
arguments: |
308308
:cosmotech-api:jibDockerBuild
309309
-Djib.to.image=com.cosmotech/cosmotech-api:${{ github.sha }}

0 commit comments

Comments
 (0)