Updated azure-ci-build-pipeline.yaml
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user