[Windows] Split VSIX installation helper into two (#8872)
This commit is contained in:
@@ -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 `
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user