mirror of
https://github.com/actions/cache.git
synced 2025-07-18 04:45:14 -06:00
Code review
This commit is contained in:
parent
d57039cf5c
commit
84097c0606
7 changed files with 23 additions and 7 deletions
|
@ -70,7 +70,11 @@ async function restoreImpl(
|
|||
);
|
||||
|
||||
core.setOutput(Outputs.CacheHit, isExactKeyMatch.toString());
|
||||
core.info(`Cache restored from key: ${cacheKey}`);
|
||||
if (lookupOnly) {
|
||||
core.info(`Cache would have been restored from key: ${cacheKey}`);
|
||||
} else {
|
||||
core.info(`Cache restored from key: ${cacheKey}`);
|
||||
}
|
||||
|
||||
return cacheKey;
|
||||
} catch (error: unknown) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue