mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-05-02 20:58:36 +02:00
Allow use of caches 'read-only'
To avoid evicting useful entries, some pipeline may benefit from using existing cache entries without writing any changes back to the cache. Fixes #62
This commit is contained in:
parent
543cacb256
commit
a693ccda4b
4 changed files with 31 additions and 0 deletions
7
.github/workflows/prod.yml
vendored
7
.github/workflows/prod.yml
vendored
|
@ -62,6 +62,13 @@ jobs:
|
|||
build-root-directory: __tests__/samples/basic
|
||||
arguments: test --no-daemon
|
||||
dependencies-cache-enabled: true
|
||||
- name: Test dependencies-cache-enabled
|
||||
uses: ./
|
||||
with:
|
||||
build-root-directory: __tests__/samples/basic
|
||||
arguments: test --no-daemon
|
||||
dependencies-cache-enabled: true
|
||||
cache-read-only: true
|
||||
|
||||
configuration-cache:
|
||||
strategy:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue