mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
@@ -23,6 +23,12 @@ function Get-ChromiumVersion {
|
||||
return $chromiumVersion
|
||||
}
|
||||
|
||||
function Get-EdgeVersion {
|
||||
$edgeVersion = (microsoft-edge --version).trim()
|
||||
$aptSourceRepo = Get-AptSourceRepository -PackageName "microsoft-edge"
|
||||
return "$edgeVersion (apt source repository: $aptSourceRepo)"
|
||||
}
|
||||
|
||||
function Get-SeleniumVersion {
|
||||
$seleniumBinaryName = Get-ToolsetValue "selenium.binary_name"
|
||||
$fullSeleniumVersion = (Get-ChildItem "/usr/share/java/${seleniumBinaryName}-*").Name -replace "${seleniumBinaryName}-"
|
||||
|
||||
Reference in New Issue
Block a user