mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-06 18:17:26 +08:00
[Windows] Implement installation helpers refactoring (#8865)
* [Windows] Refactor base Installer helper functions * Fix helper name * Fix name gen logic and improve error handling * Fix hash checking logic * Fix Install-VsixExtension invocation * Fix variable name in Install-OpenSSL.ps1 * Fix type for git downloadUrl
This commit is contained in:
committed by
GitHub
parent
46f21c4413
commit
d3e630f774
@@ -16,8 +16,9 @@ $vsixPackagesList | ForEach-Object {
|
||||
if ($vsixPackage.FileName.EndsWith(".vsix")) {
|
||||
Install-VsixExtension -Url $vsixPackage.DownloadUri -Name $vsixPackage.FileName
|
||||
} else {
|
||||
$argumentList = ('/install', '/quiet', '/norestart')
|
||||
Install-Binary -Url $vsixPackage.DownloadUri -Name $vsixPackage.FileName -ArgumentList $argumentList
|
||||
Install-Binary `
|
||||
-Url $vsixPackage.DownloadUri `
|
||||
-InstallArgs @('/install', '/quiet', '/norestart')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user