Update build.yml

This commit is contained in:
Marc Paine 2023-01-03 16:45:18 -08:00 committed by GitHub
parent 31b5a5b1d2
commit 2dc5249cf9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,15 @@ parameters:
enablePublishUsingPipelines: true
phases:
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/release/7.0.1xx')))) }}:
- template: /eng/common/templates/job/onelocbuild.yml
parameters:
CreatePr: true
LclSource: lclFilesfromPackage
LclPackageId: 'LCL-JUNO-PROD-DOTNETINSTALLER'
MirrorBranch: release/7.0.1xx
MirrorRepo: sdk
- template: /eng/common/templates/job/job.yml
parameters:
${{ if parameters.pgoInstrument }}:
@ -168,13 +177,3 @@ phases:
publishLocation: Container
continueOnError: true
condition: always()
jobs:
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/release/7.0.1xx')))) }}:
- template: /eng/common/templates/job/onelocbuild.yml
parameters:
CreatePr: true
LclSource: lclFilesfromPackage
LclPackageId: 'LCL-JUNO-PROD-DOTNETINSTALLER'
MirrorBranch: release/7.0.1xx
MirrorRepo: sdk