mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-09-09 08:52:19 +08: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:
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:
|
||||
|
Reference in New Issue
Block a user