Skip to content

Commit

Permalink
Fix chrome at CI (#47)
Browse files Browse the repository at this point in the history
* Sep proper chrome path

* Remove preinstalled chrome
  • Loading branch information
MOZGIII authored Nov 4, 2023
1 parent b92c58a commit 8209bc8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/scripts/build_env/ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ printf "CHROMEDRIVER_ARGS=--log-level=INFO\n" >>"$GITHUB_ENV"

# Prepend chrome dir to PATH.
CHROMES=(chrome/*/chrome-*/chrome)
printf "%s\n" "$(dirname "${CHROMES[0]}")" >>"$GITHUB_PATH"
printf "%s\n" "$(pwd)/$(dirname "${CHROMES[0]}")" >>"$GITHUB_PATH"

# Remove the preinstalled chrome.
rm -rf /opt/google/chrome

source "${SCRIPT_DIR}/common.sh"

0 comments on commit 8209bc8

Please sign in to comment.