post: include run attempt in cache name

This commit is contained in:
mlugg
2025-06-29 16:52:12 +01:00
parent cab58101cf
commit edd2134a44
+1 -1
View File
@@ -32,7 +32,7 @@ async function main() {
}
const prefix = await common.getCachePrefix();
const name = prefix + github.context.runId;
const name = `${prefix}${github.context.runId}-${github.context.runAttempt}`;
core.info('Saving Zig cache');
await cache.saveCache([cache_path], name);
} else {