Skip to content

Commit f26be5f

Browse files
committed
Fix Chrome version comparison
1 parent 1bcc960 commit f26be5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
echo -e "Already installed $(google-chrome --version)\n"
8686
MINIMUM_REQUIRED_CHROME_VERSION=75
8787
INSTALLED_CHROME_MAJOR_VERSION="$(google-chrome --version | tr ' .' '\t' | cut -f3)"
88-
if [[ $INSTALLED_CHROME_MAJOR_VERSION < $MINIMUM_REQUIRED_CHROME_VERSION ]]; then
88+
if [[ $INSTALLED_CHROME_MAJOR_VERSION -lt $MINIMUM_REQUIRED_CHROME_VERSION ]]; then
8989
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
9090
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
9191
sudo apt-get update

0 commit comments

Comments
 (0)