mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-09-07 14:22:20 +08:00
Disable dependencies cache by default
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user