From edd2134a440d0c08abafdf2cd43be83722aaddd0 Mon Sep 17 00:00:00 2001 From: mlugg Date: Sun, 29 Jun 2025 16:49:18 +0100 Subject: [PATCH] post: include run attempt in cache name --- post.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.js b/post.js index 572809a..f609966 100644 --- a/post.js +++ b/post.js @@ -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 {