mirror of
https://github.com/gradle/actions.git
synced 2025-11-26 17:09:10 +08:00
Disable cache-read-only when cache-write-only is set
This commit is contained in:
@@ -27,7 +27,7 @@ export function isCacheDisabled(): boolean {
|
||||
}
|
||||
|
||||
export function isCacheReadOnly(): boolean {
|
||||
return core.getBooleanInput(CACHE_READONLY_PARAMETER)
|
||||
return !isCacheWriteOnly() && core.getBooleanInput(CACHE_READONLY_PARAMETER)
|
||||
}
|
||||
|
||||
export function isCacheWriteOnly(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user