From d463e30c26b369d44e82e68a5de8f9b58e13d13c Mon Sep 17 00:00:00 2001 From: Tanuj Kumar Mishra Date: Thu, 8 Dec 2022 08:24:08 +0000 Subject: [PATCH] test --- dist/restore/index.js | 1 + src/restoreImpl.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/restore/index.js b/dist/restore/index.js index e2aee1d..c992545 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -50706,6 +50706,7 @@ function restoreImpl(stateProvider) { } // Store the matched cache key in states stateProvider.setState(constants_1.State.CacheMatchedKey, cacheKey); + core.debug("setState: " + constants_1.State.CacheMatchedKey + " " + cacheKey); const isExactKeyMatch = utils.isExactKeyMatch(core.getInput(constants_1.Inputs.Key, { required: true }), cacheKey); core.setOutput(constants_1.Outputs.CacheHit, isExactKeyMatch.toString()); core.info(`Cache restored from key: ${cacheKey}`); diff --git a/src/restoreImpl.ts b/src/restoreImpl.ts index dec2437..bfb88ef 100644 --- a/src/restoreImpl.ts +++ b/src/restoreImpl.ts @@ -51,6 +51,7 @@ async function restoreImpl( // Store the matched cache key in states stateProvider.setState(State.CacheMatchedKey, cacheKey); + core.debug("setState: " + State.CacheMatchedKey + " " + cacheKey); const isExactKeyMatch = utils.isExactKeyMatch( core.getInput(Inputs.Key, { required: true }),