Skip to content

Commit

Permalink
Link google-chrome to /usr/bin/google-chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
nghiadhd-2702 committed May 23, 2024
1 parent 12bc6fb commit cedc97d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: KatalonDockerCI
on:
push:
branches:
- release-8.6.9
- 8.6.9-test
jobs:
run:
name: Run
runs-on: ubuntu-latest
env:
KS_VERSION: 8.6.9
KS_VERSION_TAG: latest
KS_VERSION_TAG: 8.6.9-test
steps:
- name: Checkout
uses: actions/checkout@master
Expand Down
7 changes: 7 additions & 0 deletions src/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ chrome_package='google-chrome-stable_current_amd64.deb'
wget -O $chrome_package https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
dpkg -i $chrome_package || apt -y -f install
rm $chrome_package

symlink="/usr/bin/google-chrome"
if [ -L $symlink ]; then
unlink $symlink
ln -s /opt/google/chrome/google-chrome $symlink
fi

echo "$(google-chrome --version)" >> $KATALON_VERSION_FILE || true

./wrap_chrome_binary.sh && rm -rfv ./wrap_chrome_binary.sh
Expand Down

0 comments on commit cedc97d

Please sign in to comment.