From f8d5daa09613640a9239cc4648e1301dfcd8eed1 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 8 Oct 2021 15:18:16 -0700 Subject: [PATCH] WIP: Use PowerShellGet v3 --- .vsts-ci/templates/ci-general.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.vsts-ci/templates/ci-general.yml b/.vsts-ci/templates/ci-general.yml index 1419e4d3fa..a180423d6d 100644 --- a/.vsts-ci/templates/ci-general.yml +++ b/.vsts-ci/templates/ci-general.yml @@ -46,8 +46,10 @@ steps: inputs: targetType: inline script: | + Install-Module -Name PowerShellGet -AllowPrerelease -Scope CurrentUser -Force + Register-PSResourceRepository -PSGallery Get-Module -ListAvailable Pester - Install-Module InvokeBuild -Scope CurrentUser -Force + Install-Module -Name InvokeBuild -Scope CurrentUser -Force Invoke-Build Write-Host "##vso[task.setvariable variable=vsixPath]$(Resolve-Path powershell-*.vsix)" workingDirectory: $(Build.SourcesDirectory)/vscode-powershell