use runner arch in cache key

This commit is contained in:
Nick Sweeting
2025-07-08 18:03:11 -07:00
parent b206db41a1
commit 28f0d4d401
2 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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