From 146ecdbadab90eae8f71d335a90d83295a1503e8 Mon Sep 17 00:00:00 2001 From: apudovkin-ms Date: Mon, 16 Sep 2024 11:24:56 +0200 Subject: [PATCH] Update azure-pipelines.yml --- azure-pipelines.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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