Skip to content

Commit

Permalink
try downloading chromedriver directly
Browse files Browse the repository at this point in the history
  • Loading branch information
dconeybe committed Aug 17, 2023
1 parent 68a3f4e commit aa12dd3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,26 @@ jobs:
name: Build the SDK
runs-on: ubuntu-latest
steps:
- run: sudo apt update
- run: sudo apt install wget
- name: google-chrome install
id: chrome_install
run: |
set -xv # echo command as they are executed
#DOWNLOAD_DIR="$(mktemp -d --tmpdir=${{ runner.temp }})"
#wget --no-verbose https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb --output-document="$DOWNLOAD_DIR/google-chrome-stable_current_amd64.deb"
#sudo dpkg -i "$DOWNLOAD_DIR/google-chrome-stable_current_amd64.deb"
#sudo apt-get install -f
echo "Installed $(google-chrome --version)" >> "$GITHUB_STEP_SUMMARY"
chrome_version=$((google-chrome --version | awk '{ print $3 }'))
echo "chrome_version=$chrome_version" >> "$GITHUB_OUTPUT"
- name: chromedriver install
run: |
set -xv # echo command as they are executed
CHROMEDRIVER_DIR="$(mktemp -d --tmpdir=${{ runner.temp }})"
wget --no-verbose https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/${{ steps.chrome_install.outputs.chrome_version }}/linux64/chromedriver-linux64.zip --output-document="$CHROMEDRIVER_DIR/chromedriver-linux64.zip"
echo "CHROMEDRIVER_FILEPATH=$CHROMEDRIVER_DIR/chromedriver-linux64.zip" >> "$GITHUB_ENV"
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit aa12dd3

Please sign in to comment.