From 28f0d4d401fcdfa417dc2c7c878601459f2dcd78 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 8 Jul 2025 18:03:11 -0700 Subject: [PATCH] use runner arch in cache key --- .github/workflows/eval.yaml | 4 ++-- .github/workflows/test.yaml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/eval.yaml b/.github/workflows/eval.yaml index 9da971895..ce4522a94 100644 --- a/.github/workflows/eval.yaml +++ b/.github/workflows/eval.yaml @@ -85,7 +85,7 @@ jobs: with: path: | /tmp/google-chrome-stable_current_amd64.deb - key: ${{ runner.os }}-chrome-stable + key: ${{ runner.os }}-${{ runner.arch }}-chrome-stable - name: Install Chrome stable binary run: | @@ -101,7 +101,7 @@ jobs: with: path: | ~/.cache/ms-playwright - key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}-chromium + key: ${{ runner.os }}-${{ runner.arch }}-playwright-${{ env.PLAYWRIGHT_VERSION }}-chromium - run: playwright install chromium --with-deps - run: patchright install chromium --with-deps diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0607c9106..0c4441d52 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -84,7 +84,7 @@ jobs: with: path: | /tmp - key: ${{ runner.os }}-chrome-stable + key: ${{ runner.os }}-${{ runner.arch }}-chrome-stable - name: Install Chrome stable binary run: | @@ -99,7 +99,7 @@ jobs: with: path: | ~/.cache/ms-playwright - key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}-chromium + key: ${{ runner.os }}-${{ runner.arch }}-playwright-${{ env.PLAYWRIGHT_VERSION }}-chromium - run: playwright install chromium --with-deps - run: patchright install chromium --with-deps @@ -134,7 +134,7 @@ jobs: with: path: | /tmp/google-chrome-stable_current_amd64.deb - key: ${{ runner.os }}-chrome-stable + key: ${{ runner.os }}-${{ runner.arch }}-chrome-stable - name: Install Chrome stable binary run: | @@ -149,7 +149,7 @@ jobs: with: path: | ~/.cache/ms-playwright - key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}-chromium + key: ${{ runner.os }}-${{ runner.arch }}-playwright-${{ env.PLAYWRIGHT_VERSION }}-chromium - run: playwright install chromium --with-deps - run: patchright install chromium --with-deps