mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[Windows] Reimplement function resolving GH asset (#8899)
* [Windows] Reimplement function resolving GH asset * Fix tests and software report * Fix selenium-server version check
This commit is contained in:
committed by
GitHub
parent
e8f9c10965
commit
da1c04b81a
@@ -4,13 +4,10 @@
|
||||
################################################################################
|
||||
|
||||
$seleniumMajorVersion = (Get-ToolsetContent).selenium.version
|
||||
$ieDriverUrl = Get-GitHubPackageDownloadUrl `
|
||||
-RepoOwner "SeleniumHQ" `
|
||||
-RepoName "selenium" `
|
||||
-BinaryName "IEDriverServer_x64" `
|
||||
-Version $seleniumMajorVersion `
|
||||
-UrlFilter "*{BinaryName}_{Version}.zip" `
|
||||
-LatestReleaseOnly $false
|
||||
$ieDriverUrl = Resolve-GithubReleaseAssetUrl `
|
||||
-Repo "SeleniumHQ/selenium" `
|
||||
-Version "$seleniumMajorVersion.*" `
|
||||
-Asset "IEDriverServer_x64_*.zip"
|
||||
|
||||
# Download IE selenium driver
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user