@@ -90423,12 +90423,12 @@ class PipCache extends cache_distributor_1.default {
9042390423 let restoreKey = '';
9042490424 if (utils_1.IS_LINUX) {
9042590425 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}`;
9042890428 }
9042990429 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}`;
9043290432 }
9043390433 return {
9043490434 primaryKey,
@@ -90514,7 +90514,7 @@ class PipenvCache extends cache_distributor_1.default {
9051490514 computeKeys() {
9051590515 return __awaiter(this, void 0, void 0, function* () {
9051690516 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}`;
9051890518 const restoreKey = undefined;
9051990519 return {
9052090520 primaryKey,
@@ -90627,7 +90627,7 @@ class PoetryCache extends cache_distributor_1.default {
9062790627 return __awaiter(this, void 0, void 0, function* () {
9062890628 const hash = yield glob.hashFiles(this.patterns);
9062990629 // "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}`;
9063190631 const restoreKey = undefined;
9063290632 return {
9063390633 primaryKey,
0 commit comments