mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
Improve Windows helpers functions stability (#723)
* Rework windows InstallHelpers; Add retry logic to install function
This commit is contained in:
@@ -14,7 +14,7 @@ Write-Host "Firefox latest version: $latestVersion"
|
||||
|
||||
# url for latest version of firefox
|
||||
$urlLatestVersion = "https://download.mozilla.org/?product=firefox-${latestVersion}&os=win64&lang=en-US"
|
||||
Install-EXE -Url $urlLatestVersion -Name "Firefox Setup $latestVersion.exe" -ArgumentList ("/silent", "/install")
|
||||
Install-Binary -Url $urlLatestVersion -Name "Firefox Setup $latestVersion.exe" -ArgumentList ("/silent", "/install")
|
||||
|
||||
# Disable autoupdate
|
||||
$firefoxDirectoryPath = Join-Path $env:ProgramFiles "Mozilla Firefox"
|
||||
|
||||
Reference in New Issue
Block a user