Skip to content

Commit

Permalink
固定使用 chrome 104
Browse files Browse the repository at this point in the history
  • Loading branch information
Lemoncchi committed Jan 15, 2024
1 parent e762d56 commit 117a2dc
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ permissions:
jobs:
spider-score:
runs-on: ubuntu-latest
# env:
# LATEST: $(wget -q -O - https://chromedriver.storage.googleapis.com/LATEST_RELEASE)
env:
LATEST: $(wget -q -O - https://chromedriver.storage.googleapis.com/LATEST_RELEASE)
steps:
- name: check out repo
uses: actions/checkout@v3
Expand All @@ -24,11 +24,16 @@ jobs:
sudo apt-get update
sudo apt-get install libxss1 -y
pip install -r requirement.txt
- name: installing chrome 114
run: |
wget https://www.slimjet.com/chrome/download-chrome.php?file=files%2F104.0.5112.102%2Fgoogle-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb -y
- name: installing chromedriver
uses: nanasess/setup-chromedriver@v1
with:
chromedriver-version: '114.0.5735.90'
chromedriver-version: '104.0.5112.79'

- name: runing vjudge spider
run: |
Expand Down

0 comments on commit 117a2dc

Please sign in to comment.