diff --git a/action.yml b/action.yml index ac4223a..ca06788 100644 --- a/action.yml +++ b/action.yml @@ -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 diff --git a/src/cache-dependencies.ts b/src/cache-dependencies.ts index ba5053f..57237cc 100644 --- a/src/cache-dependencies.ts +++ b/src/cache-dependencies.ts @@ -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) }