Updated azure-ci-build-pipeline.yaml

This commit is contained in:
Marek Wolan
2023-07-11 07:19:58 +00:00
parent 831469d01c
commit d8cfbc1042

View File

@@ -7,8 +7,8 @@ trigger:
- release/* - release/*
strategy: strategy:
matrix: ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
${{ if eq(variables['Build.Reason'], 'PullRequest') }}: matrix:
UbuntuPython38: UbuntuPython38:
python.version: '3.8' python.version: '3.8'
imageName: 'ubuntu-latest' imageName: 'ubuntu-latest'
@@ -27,7 +27,8 @@ strategy:
MacOSPython310: MacOSPython310:
python.version: '3.10' python.version: '3.10'
imageName: 'macOS-latest' imageName: 'macOS-latest'
${{ if not(eq(variables['Build.Reason'], 'PullRequest')) }}: ${{ if not(eq(variables['Build.Reason'], 'PullRequest')) }}:
matrix:
UbuntuPython310: UbuntuPython310:
python.version: '3.10' python.version: '3.10'
imageName: 'ubuntu-latest' imageName: 'ubuntu-latest'