Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit bd1a01d

Browse files
committed
Add Install Prereqs
1 parent e012e44 commit bd1a01d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.vsts-ci/templates/ci-general.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,17 @@ steps:
5555
version: 6.0.x
5656
performMultiLevelLookup: true
5757

58+
# Some modules like Pester have .NET DLLs that will require a new PowerShell instance, so we run this first prior to the build.
59+
- task: PowerShell@2
60+
displayName: Install Prerequisites
61+
inputs:
62+
targetType: inline
63+
script: |
64+
Install-Module -Name InvokeBuild -Force -Scope CurrentUser -RequiredVersion 5.10.3
65+
Invoke-Build -InstallPrerequisites -Configuration Release Prerequisites
66+
workingDirectory: $(Build.SourcesDirectory)/vscode-powershell
67+
pwsh: true
68+
5869
# The build script is always run with PowerShell Core
5970
- task: PowerShell@2
6071
displayName: Build and package

0 commit comments

Comments
 (0)