[Windows] Split VSIX installation helper into two (#8872)

This commit is contained in:
Vasilii Polikarpov
2023-11-23 11:58:34 +01:00
committed by GitHub
parent 1bd9214f41
commit 1254bc94a5
4 changed files with 46 additions and 57 deletions
@@ -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 `
+1 -2
View File
@@ -30,7 +30,6 @@ Install-Binary -Type EXE `
-ExpectedSignature $wdkSignatureThumbprint
# Need to install the VSIX to get the build targets when running VSBuild
$wdkExtensionPath = Resolve-Path -Path $wdkExtensionPath
Install-VsixExtension -FilePath $wdkExtensionPath -Name "WDK.vsix" -InstallOnly
Install-VSIXFromFile (Resolve-Path -Path $wdkExtensionPath)
Invoke-PesterTests -TestFile "WDK"