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 {
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