mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-06-07 16:56:12 +02:00
Explicitly allow cache-write for test invocations
The `gradle-build-action` test workflows need to write cache entries, even when run on non-default branches. This change add explicit configuration to set `cache-read-only: false` when cache writing is required.
This commit is contained in:
parent
b02f4f1968
commit
00cdd4dcf9
10 changed files with 22 additions and 0 deletions
|
@ -31,6 +31,7 @@ jobs:
|
|||
- name: Setup Gradle
|
||||
uses: ./
|
||||
with:
|
||||
cache-read-only: false # For testing, allow writing cache entries on non-default branches
|
||||
# Add "enterprise" to main cache entry but omit "notifications"
|
||||
gradle-home-cache-includes: |
|
||||
caches
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue