| @@ -16,22 +16,15 @@ jobs: | |||||
| pool: default | pool: default | ||||
| steps: | steps: | ||||
| - template: azure/build.yml | - template: azure/build.yml | ||||
| - template: azure/deploy.yml | |||||
| - 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' | |||||
| - job: Linux_deploy | |||||
| pool: default | |||||
| condition: | | condition: | | ||||
| and ( | and ( | ||||
| succeeded(), | succeeded(), | ||||
| or ( | or ( | ||||
| eq(variables['Build.SourceBranch'], 'refs/heads/dev'), | |||||
| eq(variables['Build.SourceBranch'], 'refs/heads/release/3.x'), | |||||
| eq(variables['buildTag'], True) | eq(variables['buildTag'], True) | ||||
| ) | ) | ||||
| ) | ) | ||||