File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ virtualenvs.path = "{cache-dir}/virtualenvs" # /Users/patrick/Library/Caches/py
300
300
result = 'pipenv cache is not found' ;
301
301
break ;
302
302
case 'poetry' :
303
- result = 'poetry cache is not found' ;
303
+ result = `Cache restored from key: ${ pipFileLockHash } ` ;
304
304
break ;
305
305
}
306
306
Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ class PoetryCache extends CacheDistributor {
48
48
const hash = await glob . hashFiles ( this . patterns ) ;
49
49
// "v2" is here to invalidate old caches of this cache distributor, which were created broken:
50
50
const primaryKey = `${ this . CACHE_KEY_PREFIX } -${ process . env [ 'RUNNER_OS' ] } -python-${ this . pythonVersion } -${ this . packageManager } -v2-${ hash } ` ;
51
- const restoreKey = undefined ;
51
+ const restoreKey = ` ${ this . CACHE_KEY_PREFIX } - ${ process . env [ 'RUNNER_OS' ] } -python- ${ this . pythonVersion } - ${ this . packageManager } -` ;
52
52
return {
53
53
primaryKey,
54
- restoreKey
54
+ restoreKey : [ restoreKey ]
55
55
} ;
56
56
}
57
57
You can’t perform that action at this time.
0 commit comments