mirror of
https://github.com/actions/setup-node.git
synced 2025-01-22 08:19:43 +08:00
Add dist
This commit is contained in:
parent
870d3d8e13
commit
82af78e9c4
1
dist/cache-save/index.js
vendored
1
dist/cache-save/index.js
vendored
|
@ -83729,6 +83729,7 @@ const cachePackages = (packageManager) => __awaiter(void 0, void 0, void 0, func
|
|||
return;
|
||||
}
|
||||
core.info(`Cache saved with the key: ${primaryKey}`);
|
||||
core.setOutput('cache-key', primaryKey);
|
||||
});
|
||||
run(true);
|
||||
|
||||
|
|
1
dist/setup/index.js
vendored
1
dist/setup/index.js
vendored
|
@ -93326,6 +93326,7 @@ const restoreCache = (packageManager, cacheDependencyPath) => __awaiter(void 0,
|
|||
const primaryKey = `${keyPrefix}-${fileHash}`;
|
||||
core.debug(`primary key is ${primaryKey}`);
|
||||
core.saveState(constants_1.State.CachePrimaryKey, primaryKey);
|
||||
core.setOutput('cache-key', primaryKey);
|
||||
const isManagedByYarnBerry = yield (0, cache_utils_1.repoHasYarnBerryManagedDependencies)(packageManagerInfo, cacheDependencyPath);
|
||||
let cacheKey;
|
||||
if (isManagedByYarnBerry) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user