diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6a4b97d1..773eaecf 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -53,10 +53,15 @@ extends: inputs: targetType: inline script: >- - .\scripts\windows\init.ps1 if ($LASTEXITCODE -ne 0) { + .\scripts\windows\init.ps1 + + if ($LASTEXITCODE -ne 0) { Write-Host "##vso[task.logissue type=error;] init script failed." Exit $LASTEXITCODE - } "&" python -m pip install -U pip setuptools + } + + + & python -m pip install -U pip setuptools - task: Bash@3 name: ShellScript1 displayName: Update Version