mirror of
https://gitea.com/actions/setup-node.git
synced 2025-07-18 17:38:05 +08:00
work on resolving comments
This commit is contained in:
@@ -25,7 +25,7 @@ export const restoreCache = async (packageManager: string) => {
|
||||
const lockFilePath = findLockFile(packageManagerInfo);
|
||||
const fileHash = await glob.hashFiles(lockFilePath);
|
||||
|
||||
const primaryKey = `${platform}-${packageManager}-${fileHash}`;
|
||||
const primaryKey = `node-cache-${platform}-${packageManager}-${fileHash}`;
|
||||
core.debug(`primary key is ${primaryKey}`);
|
||||
|
||||
core.saveState(State.CachePrimaryKey, primaryKey);
|
||||
|
Reference in New Issue
Block a user