From d838de94f5667a1421889eb33c5ba527c456d399 Mon Sep 17 00:00:00 2001 From: quin lynch Date: Sat, 25 Sep 2021 17:51:51 -0300 Subject: [PATCH] Revert pipeline --- azure-pipelines.yml | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e8d30a365..f576f89d4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,27 +6,36 @@ variables: trigger: tags: include: - - '*' + - "*" branches: include: - - '*' + - "*" jobs: -- job: Linux - pool: default - steps: - - template: azure/build.yml + - job: Linux + pool: + vmImage: "ubuntu-latest" + steps: + - template: azure/build.yml -- job: Linux_deploy - pool: default - condition: | + - job: Windows_build + pool: + vmImage: "windows-latest" + condition: ne(variables['Build.SourceBranch'], 'refs/heads/dev') + steps: + - template: azure/build.yml + + - job: Windows_deploy + pool: + vmImage: "windows-latest" + condition: | and ( succeeded(), or ( - eq(variables['Build.SourceBranch'], 'refs/heads/release/3.x'), + eq(variables['Build.SourceBranch'], 'refs/heads/dev'), eq(variables['buildTag'], True) ) ) - steps: - - template: azure/build.yml - - template: azure/deploy.yml + steps: + - template: azure/build.yml + - template: azure/deploy.yml