mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 12:48:18 +00:00
[Ubuntu] Rework Сhromium installation to avoid using snap (#3029)
* rework chromium installation * added GetChromiumRevision function * changed getting chrome version * fixed GetChromiumRevision function * fixed CHROME_VERSION variable * move chromium installation to google-chrome.sh * added -qq for unzip * added comments to GetChromiumRevision function * updated tests and sofware report Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
This commit is contained in:
@@ -215,11 +215,9 @@ $browsersAndDriversList = @(
|
||||
(Get-ChromeVersion),
|
||||
(Get-ChromeDriverVersion),
|
||||
(Get-FirefoxVersion),
|
||||
(Get-GeckodriverVersion)
|
||||
(Get-GeckodriverVersion),
|
||||
(Get-ChromiumVersion)
|
||||
)
|
||||
if (Test-IsUbuntu20) {
|
||||
$browsersAndDriversList = @(Get-ChromiumVersion) + $browsersAndDriversList
|
||||
}
|
||||
|
||||
$markdown += New-MDList -Style Unordered -Lines $browsersAndDriversList
|
||||
$markdown += New-MDHeader "Environment variables" -Level 4
|
||||
|
||||
Reference in New Issue
Block a user