File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,30 @@ steps:
41
41
archiveFilePatterns : $(Pipeline.Workspace)/PowerShellEditorServices.zip
42
42
destinationFolder : $(Build.SourcesDirectory)/vscode-powershell/modules
43
43
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
+
44
60
- task : PowerShell@2
45
61
displayName : Build and test
46
62
inputs :
47
63
targetType : inline
48
64
script : |
49
65
Get-Module -ListAvailable Pester
50
66
Install-Module InvokeBuild -Scope CurrentUser -Force
67
+ Install-Module platyPS -Scope CurrentUser -Force
51
68
Invoke-Build -Configuration Release
52
69
Write-Host "##vso[task.setvariable variable=vsixPath]$(Resolve-Path powershell-*.vsix)"
53
70
workingDirectory : $(Build.SourcesDirectory)/vscode-powershell
You can’t perform that action at this time.
0 commit comments