Skip to content

Commit 146ecdb

Browse files
authored
Update azure-pipelines.yml
1 parent cdf841f commit 146ecdb

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

azure-pipelines.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,15 @@ extends:
5353
inputs:
5454
targetType: inline
5555
script: >-
56-
.\scripts\windows\init.ps1 if ($LASTEXITCODE -ne 0) {
56+
.\scripts\windows\init.ps1
57+
58+
if ($LASTEXITCODE -ne 0) {
5759
Write-Host "##vso[task.logissue type=error;] init script failed."
5860
Exit $LASTEXITCODE
59-
} "&" python -m pip install -U pip setuptools
61+
}
62+
63+
64+
& python -m pip install -U pip setuptools
6065
- task: Bash@3
6166
name: ShellScript1
6267
displayName: Update Version

0 commit comments

Comments
 (0)