Merge pull request #8914 from dotnet-maestro-bot/merge/vs17.6-to-vs17.7

[automated] Merge branch 'vs17.6' => 'vs17.7'
This commit is contained in:
Jan Krivanek 2023-06-20 15:31:02 +02:00 коммит произвёл GitHub
Родитель cf384834dd f9c08e5028
Коммит d30eef85d2
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 26 добавлений и 7 удалений

Просмотреть файл

@ -36,6 +36,8 @@ variables:
value: .NETCore
- name: _DotNetValidationArtifactsCategory
value: .NETCoreValidation
- name: EnableReleaseOneLocBuild
value: true
- name: Codeql.Enabled
value: true
@ -44,13 +46,30 @@ stages:
displayName: Build
jobs:
- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }}: # should track next-release's active dev branch
- template: /eng/common/templates/job/onelocbuild.yml
parameters:
LclSource: lclFilesfromPackage
LclPackageId: 'LCL-JUNO-PROD-MSBUILD'
MirrorRepo: 'msbuild'
MirrorBranch: 'main' # should match condition above
- ${{ if and( ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
# The localization setup for release/ branches. Note difference in LclPackageId. main branch is handled separately below.
# Used for vs17.2, vs17.4, vs17.6 etc. branches only.
# When the branch is setup for localization (the localization ticket needs to be created - https://aka.ms/ceChangeLocConfig, requesting change from one release branch to another),
# set 'EnableReleaseOneLocBuild' to true.
- ${{ if startsWith(variables['Build.SourceBranch'], 'refs/heads/vs') }}:
- template: /eng/common/templates/job/onelocbuild.yml
parameters:
MirrorRepo: 'msbuild'
LclSource: lclFilesfromPackage
LclPackageId: 'LCL-JUNO-PROD-MSBUILDREL'
MirrorBranch: ${{ replace(variables['Build.SourceBranch'], 'refs/heads/', '') }}
JobNameSuffix: '_release'
condition: ${{ variables.EnableReleaseOneLocBuild }}
# The localization setup for main branch. Note difference in package ID. Should not be used with release/ branches.
- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }}:
- template: /eng/common/templates/job/onelocbuild.yml
parameters:
MirrorRepo: 'msbuild'
LclSource: lclFilesfromPackage
LclPackageId: 'LCL-JUNO-PROD-MSBUILD'
MirrorBranch: 'main'
JobNameSuffix: '_main'
condition: eq(variables['Build.SourceBranch'], 'refs/heads/main')
- job: Windows_NT
pool: