File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64430,8 +64430,8 @@ class PipCache extends cache_distributor_1.default {
6443064430 computeKeys() {
6443164431 return __awaiter(this, void 0, void 0, function* () {
6443264432 const hash = yield glob.hashFiles(this.cacheDependencyPath);
64433- const primaryKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-python-${this.pythonVersion}-${this.packageManager}-${hash}`;
64434- const restoreKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-python-${this.pythonVersion}-${this.packageManager}`;
64433+ const primaryKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${os_1.default.release()}- python-${this.pythonVersion}-${this.packageManager}-${hash}`;
64434+ const restoreKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${os_1.default.release()}- python-${this.pythonVersion}-${this.packageManager}`;
6443564435 return {
6443664436 primaryKey,
6443764437 restoreKey: [restoreKey]
Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ class PipCache extends CacheDistributor {
5757
5858 protected async computeKeys ( ) {
5959 const hash = await glob . hashFiles ( this . cacheDependencyPath ) ;
60- const primaryKey = `${ this . CACHE_KEY_PREFIX } -${ process . env [ 'RUNNER_OS' ] } -python-${ this . pythonVersion } -${ this . packageManager } -${ hash } ` ;
61- const restoreKey = `${ this . CACHE_KEY_PREFIX } -${ process . env [ 'RUNNER_OS' ] } -python-${ this . pythonVersion } -${ this . packageManager } ` ;
60+ const primaryKey = `${ this . CACHE_KEY_PREFIX } -${ process . env [ 'RUNNER_OS' ] } -${ os . release ( ) } - python-${ this . pythonVersion } -${ this . packageManager } -${ hash } ` ;
61+ const restoreKey = `${ this . CACHE_KEY_PREFIX } -${ process . env [ 'RUNNER_OS' ] } -${ os . release ( ) } - python-${ this . pythonVersion } -${ this . packageManager } ` ;
6262
6363 return {
6464 primaryKey,
You can’t perform that action at this time.
0 commit comments