mirror of
https://gitea.com/actions/setup-node.git
synced 2025-09-16 08:38:35 +08:00
bump cache version
This commit is contained in:
@@ -8,7 +8,6 @@ import {State} from './constants';
|
||||
import {
|
||||
getCacheDirectoryPath,
|
||||
getPackageManagerInfo,
|
||||
getPackageManagerWorkingDir,
|
||||
PackageManagerInfo
|
||||
} from './cache-utils';
|
||||
|
||||
@@ -37,7 +36,7 @@ export const restoreCache = async (
|
||||
);
|
||||
}
|
||||
|
||||
const primaryKey = `node-cache-${platform}-${packageManager}-${fileHash}`;
|
||||
const primaryKey = `node-cache-${platform}-${packageManager}-v2-${fileHash}`;
|
||||
core.debug(`primary key is ${primaryKey}`);
|
||||
|
||||
core.saveState(State.CachePrimaryKey, primaryKey);
|
||||
|
Reference in New Issue
Block a user