mirror of
https://github.com/actions/runner-images.git
synced 2026-01-01 15:09:03 +08:00
Switch Expand-Archive to 7zip on Windows image generation (#861)
* switch expand-archive to 7zip on windows
This commit is contained in:
committed by
Mikhail Timofeev
parent
c8a21ac935
commit
4bdbc8dcb2
@@ -29,7 +29,7 @@ $EdgeDriverDownloadUrl="https://msedgedriver.azureedge.net/${EdgeDriverLatestVer
|
||||
$EdgeDriverArchPath = Start-DownloadWithRetry -Url $EdgeDriverDownloadUrl -Name $EdgeDriverArchName
|
||||
|
||||
Write-Host "Expand Microsoft Edge WebDriver archive..."
|
||||
Expand-Archive -Path $EdgeDriverArchPath -DestinationPath $EdgeDriverPath -Force
|
||||
Extract-7Zip -Path $EdgeDriverArchPath -DestinationPath $EdgeDriverPath
|
||||
|
||||
Write-Host "Setting the environment variables..."
|
||||
setx EdgeWebDriver "$EdgeDriverPath" /M
|
||||
|
||||
Reference in New Issue
Block a user