You've already forked setup-node
mirror of
https://github.com/actions/setup-node.git
synced 2025-09-09 14:24:02 +07:00
Add output cache-matched-key
This commit is contained in:
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@ -93337,6 +93337,8 @@ const restoreCache = (packageManager, cacheDependencyPath) => __awaiter(void 0,
|
||||
cacheKey = yield cache.restoreCache(cachePaths, primaryKey);
|
||||
}
|
||||
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`);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user