mirror of
https://github.com/actions/setup-node.git
synced 2026-02-18 12:24:44 +08:00
Add output cache-matched-key
This commit is contained in:
@@ -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`);
|
||||
|
||||
Reference in New Issue
Block a user