mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[Windows] Split VSIX installation helper into two (#8872)
This commit is contained in:
committed by
GitHub
parent
1bd9214f41
commit
1254bc94a5
@@ -14,7 +14,7 @@ $vsixPackagesList | ForEach-Object {
|
||||
# Retrieve cdn endpoint to avoid HTTP error 429 https://github.com/actions/runner-images/issues/3074
|
||||
$vsixPackage = Get-VsixExtenstionFromMarketplace -ExtensionMarketPlaceName $_
|
||||
if ($vsixPackage.FileName.EndsWith(".vsix")) {
|
||||
Install-VsixExtension -Url $vsixPackage.DownloadUri -Name $vsixPackage.FileName
|
||||
Install-VSIXFromUrl $vsixPackage.DownloadUri
|
||||
} else {
|
||||
Install-Binary `
|
||||
-Url $vsixPackage.DownloadUri `
|
||||
|
||||
Reference in New Issue
Block a user