mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-10-22 01:28:55 +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