Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions eng/pipelines/official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ variables:
RunTestsOnMac: ${{ parameters.RunTestsOnMac }}
RunMonoTestsOnMac: ${{ parameters.RunMonoTestsOnMac }}
RunStaticAnalysis: ${{ parameters.RunStaticAnalysis }}
OneLocBranch: 'dev'
SourceBranch: $[replace(variables['Build.SourceBranch'], 'refs/heads/', '')]

extends:
Expand Down Expand Up @@ -94,9 +93,7 @@ extends:
- template: /eng/pipelines/templates/pipeline.yml@self
parameters:
isOfficialBuild: true
# Only run against dev.
# To request a change in localization branch, see https://github.com/dotnet/arcade/blob/main/Documentation/OneLocBuild.md#releasing-with-onelocbuild-using-arcade
${{ if eq(variables['Build.SourceBranch'], format('refs/heads/{0}', variables['OneLocBranch'])) }}:
${{ if or(eq(variables['Build.SourceBranch'], 'refs/heads/dev'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')) }}:
RunOneLocBuild: true
RunBuildForPublishing: ${{parameters.RunBuildForPublishing}}
RunCrossFrameworkTestsOnWindows: ${{parameters.RunCrossFrameworkTestsOnWindows}}
Expand Down