From 2afa86ca9f623065f5009222025f0c0199e5de3b Mon Sep 17 00:00:00 2001 From: Paul Merlin Date: Mon, 15 Jun 2020 15:57:09 +0200 Subject: [PATCH] Disable dependencies cache by default --- action.yml | 2 +- src/cache-dependencies.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) }