1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-node synced 2025-06-11 06:22:21 +02:00

Add output cache-matched-key

This commit is contained in:
Alex Dunae 2025-01-15 12:03:24 -08:00
parent 82af78e9c4
commit d23de777e0
4 changed files with 47 additions and 1 deletions

View file

@ -62,6 +62,8 @@ export const restoreCache = async (
}
core.setOutput('cache-hit', Boolean(cacheKey));
core.setOutput('cache-matched-key', cacheKey);
core.debug(`cache-matched-key is ${cacheKey}`);
if (!cacheKey) {
core.info(`${packageManager} cache is not found`);