Skip to content

Commit

Permalink
fix: add arch to cache key (#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zxilly authored Sep 19, 2024
1 parent 0a40ce6 commit 40b9536
Show file tree
Hide file tree
Showing 3 changed files with 12,882 additions and 12,882 deletions.
2 changes: 1 addition & 1 deletion dist/cleanup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88116,7 +88116,7 @@ function computeCacheKey(packageManager, cacheDependencyPath) {
if (!fileHash) {
throw new Error(`No file in ${process.cwd()} matched to [${pattern}], make sure you have checked out the target repository`);
}
return `${CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${packageManager.id}-${fileHash}`;
return `${CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${process.arch}-${packageManager.id}-${fileHash}`;
});
}
/**
Expand Down
Loading

0 comments on commit 40b9536

Please sign in to comment.