mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-20 13:14:44 +00:00
Add output cache-matched-key
This commit is contained in:
parent
82af78e9c4
commit
d23de777e0
4 changed files with 47 additions and 1 deletions
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue