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:
parent
82af78e9c4
commit
d23de777e0
4 changed files with 47 additions and 1 deletions
|
@ -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`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue