浏览代码

[CI] run choco installs in individual steps to have better error detection

Andy Li 5 年之前
父节点
当前提交
6c45ef6090
共有 1 个文件被更改,包括 4 次插入5 次删除
  1. 4 5
      extra/azure-pipelines/build-windows.yml

+ 4 - 5
extra/azure-pipelines/build-windows.yml

@@ -25,11 +25,10 @@ jobs:
     steps:
       - checkout: self
         submodules: recursive
-      - powershell: |
-          Set-PSDebug -Trace 1
-          choco install --no-progress nsis.portable --version 3.02 -y
-          choco install --no-progress curl wget 7zip.portable -y
-        displayName: Install dependencies
+      - powershell: choco install --no-progress nsis.portable --version 3.02 -y
+        displayName: choco install nsis
+      - powershell: choco install --no-progress curl wget 7zip.portable -y
+        displayName: choco install things
       - powershell: Write-Host "##vso[task.prependpath]C:\ProgramData\chocolatey\bin"
         displayName: Prepend Chocolatey path
       - template: install-neko-snapshot.yaml