mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
Temporarily hardcode chromium revision (#7948)
This commit is contained in:
committed by
GitHub
parent
fe199ce232
commit
e486e6c0c7
@@ -14,6 +14,12 @@ function GetChromiumRevision {
|
|||||||
URL="https://omahaproxy.appspot.com/deps.json?version=${CHROME_VERSION}"
|
URL="https://omahaproxy.appspot.com/deps.json?version=${CHROME_VERSION}"
|
||||||
REVISION=$(curl -s $URL | jq -r '.chromium_base_position')
|
REVISION=$(curl -s $URL | jq -r '.chromium_base_position')
|
||||||
|
|
||||||
|
# Temporarily hardcode revision as both requests
|
||||||
|
# for 115.0.5790.102 and 115.0.5790.98 return old incorrect revision
|
||||||
|
if [ $REVISION -eq "1583" ]; then
|
||||||
|
REVISION="1134878"
|
||||||
|
fi
|
||||||
|
|
||||||
# Some Google Chrome versions are based on Chromium revisions for which a (usually very old) Chromium release with the same number exist. So far this has heppened with 4 digits long Chromium revisions (1060, 1086).
|
# Some Google Chrome versions are based on Chromium revisions for which a (usually very old) Chromium release with the same number exist. So far this has heppened with 4 digits long Chromium revisions (1060, 1086).
|
||||||
# Use the previous Chromium release when this happens to avoid downloading and installing very old Chromium releases that would break image build because of incompatibilities.
|
# Use the previous Chromium release when this happens to avoid downloading and installing very old Chromium releases that would break image build because of incompatibilities.
|
||||||
# First reported with: https://github.com/actions/runner-images/issues/5256
|
# First reported with: https://github.com/actions/runner-images/issues/5256
|
||||||
|
|||||||
Reference in New Issue
Block a user