pull/994/head
Sankalp Kotewar 3 years ago committed by GitHub
parent 28ac5a0345
commit d7b864c258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47300,6 +47300,8 @@ function run() {
return; return;
} }
const state = utils.getCacheState(); const state = utils.getCacheState();
core.info(core.getState(constants_1.State.SaveCache));
core.info(core.getState(constants_1.State.CachePrimaryKey));
// Inputs are re-evaluted before the post action, so we want the original key used for restore // Inputs are re-evaluted before the post action, so we want the original key used for restore
const primaryKey = core.getState(constants_1.State.CachePrimaryKey) || core.getInput(constants_1.Inputs.Key); const primaryKey = core.getState(constants_1.State.CachePrimaryKey) || core.getInput(constants_1.Inputs.Key);
if (!primaryKey) { if (!primaryKey) {

@ -25,7 +25,8 @@ async function run(): Promise<void> {
} }
const state = utils.getCacheState(); const state = utils.getCacheState();
core.info(core.getState(State.SaveCache));
core.info(core.getState(State.CachePrimaryKey));
// Inputs are re-evaluted before the post action, so we want the original key used for restore // Inputs are re-evaluted before the post action, so we want the original key used for restore
const primaryKey = const primaryKey =
core.getState(State.CachePrimaryKey) || core.getInput(Inputs.Key); core.getState(State.CachePrimaryKey) || core.getInput(Inputs.Key);

Loading…
Cancel
Save