mirror of
https://github.com/actions/setup-node.git
synced 2025-06-30 14:43:48 +00:00
bump cache version
This commit is contained in:
parent
a3d2aaf78f
commit
d836439c6a
3 changed files with 3 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue