aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azure-pipelines.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index fab3f89d..2cc0946b 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -12,10 +12,11 @@ variables:
buildConfiguration: 'Debug'
steps:
-- task: ShellScript@2
+- task: PowerShell@2
inputs:
- scriptPath: 'script/install_packages.ps1'
- cwd: './'
+ targetType: 'filePath'
+ filePath: 'script/install_packages.ps1'
+ errorActionPreference: 'stop'
- task: VSBuild@1
inputs: