mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 08:22:12 +00:00
[Windows] Rename and refactor downloading function (#8906)
This commit is contained in:
committed by
GitHub
parent
bfe32a2b12
commit
7dba8776df
@@ -10,13 +10,8 @@ $ieDriverUrl = Resolve-GithubReleaseAssetUrl `
|
||||
-Asset "IEDriverServer_x64_*.zip"
|
||||
|
||||
# Download IE selenium driver
|
||||
try {
|
||||
Write-Host "Selenium IEDriverServer download and install..."
|
||||
$driverZipFile = Start-DownloadWithRetry -Url $ieDriverUrl -Name "SeleniumWebDrivers.zip"
|
||||
} catch {
|
||||
Write-Error "[!] Failed to download $ieDriverUrl"
|
||||
exit 1
|
||||
}
|
||||
Write-Host "Selenium IEDriverServer download and install..."
|
||||
$driverZipFile = Invoke-DownloadWithRetry $ieDriverUrl
|
||||
|
||||
$ieDriverPath = "C:\SeleniumWebDrivers\IEDriver"
|
||||
if (-not (Test-Path -Path $ieDriverPath)) {
|
||||
|
||||
Reference in New Issue
Block a user