Reorder components of overlay-base cache key postfix

This commit is contained in:
Kasper Svendsen
2025-10-24 15:46:17 +02:00
parent b4ce335286
commit cbcae45fff
3 changed files with 3 additions and 3 deletions

2
lib/analyze-action.js generated
View File

@@ -91082,7 +91082,7 @@ async function getCacheSaveKey(config, codeQlVersion, checkoutPath) {
config,
codeQlVersion
);
return `${restoreKeyPrefix}${runId}-${attemptId}-${sha}`;
return `${restoreKeyPrefix}${sha}-${runId}-${attemptId}`;
}
async function getCacheRestoreKeyPrefix(config, codeQlVersion) {
const languages = [...config.languages].sort().join("_");