mirror of
https://github.com/actions/setup-python.git
synced 2025-07-18 21:58:20 +02:00
fix: add arch to cache key
This commit is contained in:
parent
82c7e631bb
commit
7e56f009be
4 changed files with 12 additions and 12 deletions
|
@ -32,7 +32,7 @@ class PipenvCache extends CacheDistributor {
|
|||
|
||||
protected async computeKeys() {
|
||||
const hash = await glob.hashFiles(this.patterns);
|
||||
const primaryKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-python-${this.pythonVersion}-${this.packageManager}-${hash}`;
|
||||
const primaryKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-python-${process.arch}-${this.pythonVersion}-${this.packageManager}-${hash}`;
|
||||
const restoreKey = undefined;
|
||||
return {
|
||||
primaryKey,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue