mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-23 01:22:50 +00:00
Disable dependencies cache by default
This commit is contained in:
parent
ae50675399
commit
2afa86ca9f
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ inputs:
|
||||||
description: Whether caching wrapper installation is enabled or not, default to 'true'
|
description: Whether caching wrapper installation is enabled or not, default to 'true'
|
||||||
required: false
|
required: false
|
||||||
dependencies-cache-enabled:
|
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
|
required: false
|
||||||
dependencies-cache-key:
|
dependencies-cache-key:
|
||||||
description: Globs of files to hash in the build root directory, separated by new lines, use best-effort if unset
|
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 {
|
function isDependenciesCacheDisabled(): boolean {
|
||||||
return !github.inputBoolean('dependencies-cache-enabled', true)
|
return !github.inputBoolean('dependencies-cache-enabled', false)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue