Skip to content

Commit

Permalink
Added browser setup function for API uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
qing762 committed Sep 13, 2024
1 parent 3979a68 commit 1d7674e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 28,6 @@ jobs:
with:
install-dependencies: true
install-chromedriver: true

- name: Check Chrome version
run: |
${{ steps.setup-chrome.outputs.chrome-path }} --version

- name: Install dependencies
run: |
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 20,13 @@ jobs:
with:
python-version: "3.10"

- name: Set up browser
uses: browser-actions/setup-chrome@v1
id: setup-chrome
with:
install-dependencies: true
install-chromedriver: true

- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit 1d7674e

Please sign in to comment.