From d054b45ecff50f3d44b43a603a3926ddb6f84cee Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Sat, 14 Nov 2020 14:33:58 +0000 Subject: [PATCH] Perhaps displayName must come second --- examples/azure-pipelines-minimal.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/examples/azure-pipelines-minimal.yml b/examples/azure-pipelines-minimal.yml index a178ac9c..bda80c68 100644 --- a/examples/azure-pipelines-minimal.yml +++ b/examples/azure-pipelines-minimal.yml @@ -7,8 +7,9 @@ jobs: set -o errexit python3 -m pip install --upgrade pip pip3 install cibuildwheel==1.6.4 - - displayName: Build wheels - bash: cibuildwheel --output-dir wheelhouse . + displayName: Install dependencies + - bash: cibuildwheel --output-dir wheelhouse . + displayName: Build wheels - task: PublishBuildArtifacts@1 inputs: {pathtoPublish: 'wheelhouse'} @@ -16,13 +17,13 @@ jobs: pool: {vmImage: 'macOS-10.15'} steps: - task: UsePythonVersion@0 - - displayName: Install dependencies - bash: | + - bash: | set -o errexit python3 -m pip install --upgrade pip python3 -m pip install cibuildwheel==1.6.4 - - displayName: Build wheels - bash: cibuildwheel --output-dir wheelhouse . + displayName: Install dependencies + - bash: cibuildwheel --output-dir wheelhouse . + displayName: Build wheels - task: PublishBuildArtifacts@1 inputs: {pathtoPublish: wheelhouse} @@ -36,7 +37,8 @@ jobs: set -o errexit python -m pip install --upgrade pip pip install cibuildwheel==1.6.4 - - displayName: Build wheels - bash: cibuildwheel --output-dir wheelhouse . + displayName: Install dependencies + - bash: cibuildwheel --output-dir wheelhouse . + displayName: Build wheels - task: PublishBuildArtifacts@1 inputs: {pathtoPublish: 'wheelhouse'}