From e7d9a523c79d85234742208647afdd3355ecd243 Mon Sep 17 00:00:00 2001 From: Channing Conger Date: Thu, 21 May 2026 16:30:15 -0700 Subject: [PATCH] ci: tighten Windows v8 artifact caching - Invalidate Windows staged artifact caches on workflow changes - Keep cache save failures from blocking artifact uploads --- .github/workflows/v8-canary.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/v8-canary.yml b/.github/workflows/v8-canary.yml index a449870360..b2667aec63 100644 --- a/.github/workflows/v8-canary.yml +++ b/.github/workflows/v8-canary.yml @@ -297,7 +297,7 @@ jobs: uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5 with: path: dist/${{ matrix.target }} - key: v8-canary-windows-ptrcomp-sandbox-${{ matrix.target }}-${{ needs.metadata.outputs.v8_version }}-${{ hashFiles('.github/scripts/rusty_v8_bazel.py') }} + key: v8-canary-windows-ptrcomp-sandbox-${{ matrix.target }}-${{ needs.metadata.outputs.v8_version }}-${{ hashFiles('.github/workflows/v8-canary.yml', '.github/scripts/rusty_v8_bazel.py') }} - name: Configure git for upstream checkout if: steps.windows_sandbox_artifacts.outputs.cache-hit != 'true' @@ -423,6 +423,7 @@ jobs: - name: Save staged Windows sandbox artifacts if: steps.windows_sandbox_artifacts.outputs.cache-hit != 'true' + continue-on-error: true uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5 with: path: dist/${{ matrix.target }}