mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 22:58:22 +00:00
Update retrieving CHROME_VERSION
Co-Authored-By: Lctrs <Lctrs@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3cea9bfcfa
commit
9dd76a93c4
@@ -26,7 +26,8 @@ fi
|
|||||||
echo "Lastly, documenting what we added to the metadata file"
|
echo "Lastly, documenting what we added to the metadata file"
|
||||||
DocumentInstalledItem "Google Chrome ($(google-chrome --version))"
|
DocumentInstalledItem "Google Chrome ($(google-chrome --version))"
|
||||||
|
|
||||||
CHROME_VERSION=$(google-chrome --version | grep -Eo "([0-9]+\.?){4}" | cut -d "." -f 1,2,3)
|
CHROME_VERSION=$(google-chrome --product-version)
|
||||||
|
CHROME_VERSION=${CHROME_VERSION%.*}
|
||||||
|
|
||||||
# Determine latest release of chromedriver
|
# Determine latest release of chromedriver
|
||||||
# Compatibility of Google Chrome and Chromedriver: https://sites.google.com/a/chromium.org/chromedriver/downloads/version-selection
|
# Compatibility of Google Chrome and Chromedriver: https://sites.google.com/a/chromium.org/chromedriver/downloads/version-selection
|
||||||
|
|||||||
Reference in New Issue
Block a user