1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-05-10 19:19:54 +02:00

Update log statement

This commit is contained in:
Marc Mueller 2023-03-09 11:46:09 +01:00
parent 84097c0606
commit 1840896778
4 changed files with 4 additions and 4 deletions

View file

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

View file

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