File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,30 @@ steps:
4141 archiveFilePatterns : $(Pipeline.Workspace)/PowerShellEditorServices.zip
4242 destinationFolder : $(Build.SourcesDirectory)/vscode-powershell/modules
4343
44+ - task : UseDotNet@2
45+ condition : not(${{ parameters.usePipelineArtifact }})
46+ displayName : Install .NET 6.0.x SDK
47+ inputs :
48+ packageType : sdk
49+ version : 6.0.x
50+ performMultiLevelLookup : true
51+
52+ - task : UseDotNet@2
53+ condition : not(${{ parameters.usePipelineArtifact }})
54+ displayName : Install .NET 3.1.x runtime
55+ inputs :
56+ packageType : runtime
57+ version : 3.1.x
58+ performMultiLevelLookup : true
59+
4460- task : PowerShell@2
4561 displayName : Build and test
4662 inputs :
4763 targetType : inline
4864 script : |
4965 Get-Module -ListAvailable Pester
5066 Install-Module InvokeBuild -Scope CurrentUser -Force
67+ Install-Module platyPS -Scope CurrentUser -Force
5168 Invoke-Build -Configuration Release
5269 Write-Host "##vso[task.setvariable variable=vsixPath]$(Resolve-Path powershell-*.vsix)"
5370 workingDirectory : $(Build.SourcesDirectory)/vscode-powershell
You can’t perform that action at this time.
0 commit comments