We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 881ca6e commit 92163f3Copy full SHA for 92163f3
src/cache-distributions/poetry-cache.ts
@@ -46,7 +46,8 @@ class PoetryCache extends CacheDistributor {
46
47
protected async computeKeys() {
48
const hash = await glob.hashFiles(this.patterns);
49
- const primaryKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-python-${this.pythonVersion}-${this.packageManager}-${hash}`;
+ // "v2" is here to invalidate old caches of this cache distributor, which were created broken:
50
+ const primaryKey = `${this.CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-python-${this.pythonVersion}-${this.packageManager}-v2-${hash}`;
51
const restoreKey = undefined;
52
return {
53
primaryKey,
0 commit comments