mirror of
https://github.com/actions/cache.git
synced 2025-07-15 09:20:46 +00:00
.
This commit is contained in:
parent
be4a8ea450
commit
a4544c13dd
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ async function run(): Promise<void> {
|
|||
);
|
||||
|
||||
//Check if user wants to save cache despite of failure in any previous job
|
||||
const saveCache = process.env[Inputs.SaveCacheOnAnyFailure];
|
||||
const saveCache = core.getInput(Inputs.SaveCacheOnAnyFailure);
|
||||
if (saveCache === "yes") {
|
||||
core.debug(`save cache input variable is set to yes`);
|
||||
core.exportVariable(Variables.SaveCacheOnAnyFailure, saveCache);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue