|
|
|
@ -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);
|
|
|
|
|