mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-25 14:56:18 +08:00
Disable dependencies cache by default
This commit is contained in:
parent
ae50675399
commit
2afa86ca9f
@ -24,7 +24,7 @@ inputs:
|
||||
description: Whether caching wrapper installation is enabled or not, default to 'true'
|
||||
required: false
|
||||
dependencies-cache-enabled:
|
||||
description: Whether caching dependencies is enabled or not, default to 'true'
|
||||
description: Whether caching dependencies is enabled or not, default to 'false'
|
||||
required: false
|
||||
dependencies-cache-key:
|
||||
description: Globs of files to hash in the build root directory, separated by new lines, use best-effort if unset
|
||||
|
@ -112,5 +112,5 @@ function tryDeleteFiles(filePaths: string[]): boolean {
|
||||
}
|
||||
|
||||
function isDependenciesCacheDisabled(): boolean {
|
||||
return !github.inputBoolean('dependencies-cache-enabled', true)
|
||||
return !github.inputBoolean('dependencies-cache-enabled', false)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user