From d56e0cb7a728b516f7d70e098684817fa26b8e00 Mon Sep 17 00:00:00 2001 From: snomiao Date: Thu, 16 Oct 2025 03:45:20 +0000 Subject: [PATCH] feat: ensure unique cache key for every workflow run MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add github.run_id to cache key to prevent cache hits and ensure every run saves a new cache entry. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/release-pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-pages.yml b/.github/workflows/release-pages.yml index 4edd4fcaf..760989b78 100644 --- a/.github/workflows/release-pages.yml +++ b/.github/workflows/release-pages.yml @@ -43,7 +43,7 @@ jobs: .pages storybook-static coverage - key: build-cache-${{ github.ref_name }}-${{ hashFiles('pnpm-lock.yaml', 'package.json') }} + key: build-cache-${{ github.ref_name }}-${{ github.run_id }}-${{ hashFiles('pnpm-lock.yaml', 'package.json') }} restore-keys: | build-cache-${{ github.ref_name }}- build-cache-main-