mirror of
https://github.com/actions/setup-node.git
synced 2025-05-10 19:23:43 +00:00
work on resolving comments
This commit is contained in:
parent
f2b87bb2c2
commit
d36a3314a5
9 changed files with 10 additions and 10 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -42732,7 +42732,7 @@ exports.restoreCache = (packageManager) => __awaiter(void 0, void 0, void 0, fun
|
|||
const cachePath = yield cache_utils_1.getCacheDirectoryPath(packageManagerInfo, packageManager);
|
||||
const lockFilePath = findLockFile(packageManagerInfo);
|
||||
const fileHash = yield glob.hashFiles(lockFilePath);
|
||||
const primaryKey = `${platform}-${packageManager}-${fileHash}`;
|
||||
const primaryKey = `node-cache-${platform}-${packageManager}-${fileHash}`;
|
||||
core.debug(`primary key is ${primaryKey}`);
|
||||
core.saveState(constants_1.State.CachePrimaryKey, primaryKey);
|
||||
const cacheKey = yield cache.restoreCache([cachePath], primaryKey);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue