mirror of
https://gitea.com/actions/setup-node.git
synced 2025-09-14 07:38:30 +08:00
bump cache version
This commit is contained in:
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@@ -71152,7 +71152,7 @@ const restoreCache = (packageManager, cacheDependencyPath) => __awaiter(void 0,
|
||||
if (!fileHash) {
|
||||
throw new Error('Some specified paths were not resolved, unable to cache dependencies.');
|
||||
}
|
||||
const primaryKey = `node-cache-${platform}-${packageManager}-${fileHash}`;
|
||||
const primaryKey = `node-cache-${platform}-${packageManager}-v2-${fileHash}`;
|
||||
core.debug(`primary key is ${primaryKey}`);
|
||||
core.saveState(constants_1.State.CachePrimaryKey, primaryKey);
|
||||
const cacheKey = yield cache.restoreCache([cachePath], primaryKey);
|
||||
|
Reference in New Issue
Block a user