|
|
@ -50521,7 +50521,7 @@ function restoreImpl(stateProvider) {
|
|
|
|
const isExactKeyMatch = utils.isExactKeyMatch(core.getInput(constants_1.Inputs.Key, { required: true }), cacheKey);
|
|
|
|
const isExactKeyMatch = utils.isExactKeyMatch(core.getInput(constants_1.Inputs.Key, { required: true }), cacheKey);
|
|
|
|
core.setOutput(constants_1.Outputs.CacheHit, isExactKeyMatch.toString());
|
|
|
|
core.setOutput(constants_1.Outputs.CacheHit, isExactKeyMatch.toString());
|
|
|
|
if (lookupOnly) {
|
|
|
|
if (lookupOnly) {
|
|
|
|
core.info(`Cache would have been restored from key: ${cacheKey}`);
|
|
|
|
core.info(`Cache found and can be restored from key: ${cacheKey}`);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
core.info(`Cache restored from key: ${cacheKey}`);
|
|
|
|
core.info(`Cache restored from key: ${cacheKey}`);
|
|
|
|