Updated azure-ci-build-pipeline.yaml
This commit is contained in:
@@ -7,8 +7,8 @@ trigger:
|
||||
- release/*
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
|
||||
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
|
||||
matrix:
|
||||
UbuntuPython38:
|
||||
python.version: '3.8'
|
||||
imageName: 'ubuntu-latest'
|
||||
@@ -27,7 +27,8 @@ strategy:
|
||||
MacOSPython310:
|
||||
python.version: '3.10'
|
||||
imageName: 'macOS-latest'
|
||||
${{ if not(eq(variables['Build.Reason'], 'PullRequest')) }}:
|
||||
${{ if not(eq(variables['Build.Reason'], 'PullRequest')) }}:
|
||||
matrix:
|
||||
UbuntuPython310:
|
||||
python.version: '3.10'
|
||||
imageName: 'ubuntu-latest'
|
||||
|
||||
Reference in New Issue
Block a user