Skip to content

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

only cache actual binary

Nick Sweeting32e5430b629f
diff --git a/.github/workflows/eval.yaml b/.github/workflows/eval.yaml
index 9c1c39eca..e604f286a 100644
--- a/.github/workflows/eval.yaml
+++ b/.github/workflows/eval.yaml
@@ -84,7 +84,7 @@ jobs:
uses: actions/cache@v3
with:
path: |
- /tmp
+ /tmp/google-chrome-stable.deb
key: ${{ runner.os }}-chrome-stable
- name: Install Chrome stable binary
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index a5ded7ad1..7ac2b3bcc 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -133,14 +133,14 @@ jobs:
uses: actions/cache@v3
with:
path: |
- /tmp
+ /tmp/google-chrome-stable.deb
key: ${{ runner.os }}-chrome-stable
- name: Install Chrome stable binary
run: |
sudo apt-get update -qq \
- && curl -o "/tmp/google-chrome-stable.deb" -z "/tmp/google-chrome-stable.deb" "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" \
&& sudo apt-get install -y "/tmp/google-chrome-stable.deb" -f
+ && curl -o "/tmp/google-chrome-stable.deb" -z "/tmp/google-chrome-stable.deb" "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" \
- run: patchright install chrome --with-deps
- run: playwright install chrome --with-deps