File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 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