mirror of
https://github.com/actions/setup-python.git
synced 2026-11-02 13:11:19 +03:00
fix: add arch to cache key (#896)
* fix: add arch to cache key * test: update tests accordingly
This commit is contained in:
1 parent
036a523674
commit
80b49d3ed8
5 files changed
+15
-15
No files matched your search
@@ -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']}-${process.arch}-python-${this.pythonVersion}-${this.packageManager}-${hash}`;
|
||||
const restoreKey = undefined;
|
||||
return {
|
||||
primaryKey,
|
||||
|
||||
Reference in new issue
Block a user