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 {
64430
64430
computeKeys() {
64431
64431
return __awaiter(this, void 0, void 0, function* () {
64432
64432
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}`;
64435
64435
return {
64436
64436
primaryKey,
64437
64437
restoreKey: [restoreKey]
Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ class PipCache extends CacheDistributor {
57
57
58
58
protected async computeKeys ( ) {
59
59
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 } ` ;
62
62
63
63
return {
64
64
primaryKey,
You can’t perform that action at this time.
0 commit comments