mirror of
https://github.com/gradle/actions.git
synced 2025-12-08 17:15:46 +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