mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
fix name
This commit is contained in:
@@ -46,12 +46,12 @@ if (-not (Test-Path -Path $FireFoxDriverPath)) {
|
||||
New-Item -Path $FireFoxDriverPath -ItemType "directory"
|
||||
}
|
||||
|
||||
$DestFile = "$FireFoxDriverPath\$name"
|
||||
$DestFile = "$FireFoxDriverPath\$DriversZipFile"
|
||||
$EdgeDriverDownloadUrl = $geckodriverWindowsAsset.browser_download_url
|
||||
try{
|
||||
Invoke-WebRequest -Uri $EdgeDriverDownloadUrl -OutFile $DestFile
|
||||
} catch {
|
||||
Write-Error "[!] Failed to download $name"
|
||||
Write-Error "[!] Failed to download $DriversZipFile"
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user