Skip to content

Commit 5e559ce

Browse files
committed
Fix Branch Version
1 parent 200fa49 commit 5e559ce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/patchright_tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
2727
- name: Install Playwright-Python Package
2828
run: |
29-
git clone https://github.com/microsoft/playwright-python --branch ${{ env.playwright_version }}
29+
git clone https://github.com/microsoft/playwright-python --branch $(curl --silent "https://api.github.com/repos/Kaliiiiiiiiii-Vinyzu/patchright/releases/latest" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/')
3030
cd playwright-python
3131
python -m pip install --upgrade pip
3232
pip install -r local-requirements.txt
@@ -50,7 +50,6 @@ jobs:
5050
run: |
5151
cd playwright-python
5252
pip install dist/patchright-*-manylinux1_x86_64.whl
53-
# dist/patchright-1.52.5-py3-none-manylinux1_x86_64.whl
5453
5554
- name: Install Playwright Browsers
5655
run: |

0 commit comments

Comments
 (0)