Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

use runner arch in cache key

Nick Sweeting28f0d4d401fc
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