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 787a8fa commit 6c15720Copy full SHA for 6c15720
.github/workflows/build.yml
@@ -186,8 +186,8 @@ jobs:
186
const ageMs = createdAt ? (now - createdAt) : null;
187
const ageDays = ageMs ? (ageMs / (1000*60*60*24)) : null;
188
189
- const isSameFull = scopeHash && cacheKey.endsWith(`${scopeHash}`);
190
- const isSameShort = shortScopeHash && cacheKey.endsWith(`-${shortScopeHash}`);
+ const isSameFull = scopeHash && cacheKey.includes(`-${scopeHash}-`);
+ const isSameShort = shortScopeHash && cacheKey.includes(`-${shortScopeHash}-`);
191
const isSameHash = isSameFull || isSameShort;
192
193
// Rule:
0 commit comments