File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ virtualenvs.path = "{cache-dir}/virtualenvs" # /Users/patrick/Library/Caches/py
300300 result = 'pipenv cache is not found' ;
301301 break ;
302302 case 'poetry' :
303- result = 'poetry cache is not found' ;
303+ result = `Cache restored from key: ${ pipFileLockHash } ` ;
304304 break ;
305305 }
306306
Original file line number Diff line number Diff line change @@ -66750,10 +66750,10 @@ class PoetryCache extends cache_distributor_1.default {
6675066750 const hash = yield glob.hashFiles(this.patterns);
6675166751 // "v2" is here to invalidate old caches of this cache distributor, which were created broken:
6675266752 const primaryKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-python-${this.pythonVersion}-${this.packageManager}-v2-${hash}`;
66753- const restoreKey = undefined ;
66753+ const restoreKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-python-${this.pythonVersion}-${this.packageManager}-v2-` ;
6675466754 return {
6675566755 primaryKey,
66756- restoreKey
66756+ restoreKey: [restoreKey]
6675766757 };
6675866758 });
6675966759 }
Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ class PoetryCache extends CacheDistributor {
4848 const hash = await glob . hashFiles ( this . patterns ) ;
4949 // "v2" is here to invalidate old caches of this cache distributor, which were created broken:
5050 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 } -v2-` ;
5252 return {
5353 primaryKey,
54- restoreKey
54+ restoreKey : [ restoreKey ]
5555 } ;
5656 }
5757
You can’t perform that action at this time.
0 commit comments