mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Improve Windows helpers functions stability (#723)
* Rework windows InstallHelpers; Add retry logic to install function
This commit is contained in:
@@ -4,5 +4,9 @@
|
||||
####################################################################################
|
||||
|
||||
Import-Module -Name ImageHelpers -Force
|
||||
|
||||
$InstallerName = "WindowsApplicationDriver.msi"
|
||||
$InstallerUrl = "https://github.com/Microsoft/WinAppDriver/releases/download/v1.1/${InstallerName}"
|
||||
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||
Install-MSI -MsiUrl "https://github.com/Microsoft/WinAppDriver/releases/download/v1.1/WindowsApplicationDriver.msi" -MsiName "WindowsApplicationDriver.msi"
|
||||
Install-Binary -Url $InstallerUrl -Name $InstallerName
|
||||
|
||||
Reference in New Issue
Block a user