mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
Add markdown file's generation to Ubuntu images
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
function Get-ChromeVersion {
|
||||
$googleChromeVersion = google-chrome --version | Take-Part -Part 2
|
||||
return "Google Chrome $googleChromeVersion"
|
||||
}
|
||||
|
||||
function Get-ChromeDriverVersion {
|
||||
$chromeDriverVersion = chromedriver --version | Take-Part -Part 1
|
||||
return "ChromeDriver $chromeDriverVersion"
|
||||
}
|
||||
|
||||
function Get-FirefoxVersion {
|
||||
$firefoxVersion = firefox --version
|
||||
return $firefoxVersion
|
||||
}
|
||||
|
||||
function Get-GeckodriverVersion {
|
||||
$geckodriverVersion = geckodriver --version | Select-Object -First 1 | Take-Part -Part 1
|
||||
return "Geckodriver $geckodriverVersion"
|
||||
}
|
||||
Reference in New Issue
Block a user