From 86712a07334f26262744a7efc00801fbaf6a9027 Mon Sep 17 00:00:00 2001 From: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com> Date: Tue, 6 Dec 2022 10:10:52 +0000 Subject: [PATCH] dist --- dist/restore/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dist/restore/index.js b/dist/restore/index.js index 70fc9be..92394dd 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -48978,6 +48978,7 @@ function restore() { yield (0, restoreImpl_1.default)(new outputSetter_1.StateOutputSetter()); }); } +restore(); exports.default = restore; @@ -50654,13 +50655,11 @@ function run(outputter) { return; } // Store the matched cache key in states - //utils.setCacheState(cacheKey); outputter.setState(constants_1.State.CacheMatchedKey, cacheKey); const isExactKeyMatch = utils.isExactKeyMatch(core.getInput(constants_1.Inputs.Key, { required: true }), cacheKey); - //utils.setCacheHitOutput(isExactKeyMatch); outputter.setOutput(constants_1.Outputs.CacheHit, isExactKeyMatch.toString()); core.info(`Cache restored from key: ${cacheKey}`); - return cacheKey; + return; } catch (error) { core.setFailed(error.message);