@@ -90423,12 +90423,12 @@ class PipCache extends cache_distributor_1.default {
90423
90423
let restoreKey = '';
90424
90424
if (utils_1.IS_LINUX) {
90425
90425
const osInfo = yield (0, utils_1.getLinuxInfo)();
90426
- primaryKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${osInfo.osVersion}-${osInfo.osName}-python-${this.pythonVersion}-${this.packageManager}-${hash}`;
90427
- restoreKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${osInfo.osVersion}-${osInfo.osName}-python-${this.pythonVersion}-${this.packageManager}`;
90426
+ primaryKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${process.arch}-${ osInfo.osVersion}-${osInfo.osName}-python-${this.pythonVersion}-${this.packageManager}-${hash}`;
90427
+ restoreKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${process.arch}-${ osInfo.osVersion}-${osInfo.osName}-python-${this.pythonVersion}-${this.packageManager}`;
90428
90428
}
90429
90429
else {
90430
- primaryKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-python-${this.pythonVersion}-${this.packageManager}-${hash}`;
90431
- restoreKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-python-${this.pythonVersion}-${this.packageManager}`;
90430
+ primaryKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${process.arch}- python-${this.pythonVersion}-${this.packageManager}-${hash}`;
90431
+ restoreKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${process.arch}- python-${this.pythonVersion}-${this.packageManager}`;
90432
90432
}
90433
90433
return {
90434
90434
primaryKey,
@@ -90514,7 +90514,7 @@ class PipenvCache extends cache_distributor_1.default {
90514
90514
computeKeys() {
90515
90515
return __awaiter(this, void 0, void 0, function* () {
90516
90516
const hash = yield glob.hashFiles(this.patterns);
90517
- const primaryKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-python-${this.pythonVersion}-${this.packageManager}-${hash}`;
90517
+ const primaryKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-python-${process.arch}-${ this.pythonVersion}-${this.packageManager}-${hash}`;
90518
90518
const restoreKey = undefined;
90519
90519
return {
90520
90520
primaryKey,
@@ -90627,7 +90627,7 @@ class PoetryCache extends cache_distributor_1.default {
90627
90627
return __awaiter(this, void 0, void 0, function* () {
90628
90628
const hash = yield glob.hashFiles(this.patterns);
90629
90629
// "v2" is here to invalidate old caches of this cache distributor, which were created broken:
90630
- const primaryKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-python-${this.pythonVersion}-${this.packageManager}-v2-${hash}`;
90630
+ const primaryKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${process.arch}- python-${this.pythonVersion}-${this.packageManager}-v2-${hash}`;
90631
90631
const restoreKey = undefined;
90632
90632
return {
90633
90633
primaryKey,
0 commit comments