Skip to content

Commit

Permalink
fix: localization pipeline should run only on main (#2618)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evangelink committed Mar 20, 2024
1 parent 22bc5fc commit 7219e68
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ extends:
-ci
name: Test
displayName: Test

# Remove temporary artifacts to avoid finding binskim issues for exes we don't own.
- pwsh: |
Remove-Item -Path $(Build.SourcesDirectory)/artifacts/tmp -Recurse -Force
Expand Down Expand Up @@ -186,11 +186,12 @@ extends:
name: Test
displayName: Tests
- template: /eng/common/templates-official/job/onelocbuild.yml@self
parameters:
GitHubOrg: microsoft
MirrorRepo: testfx
LclSource: lclFilesfromPackage
LclPackageId: 'LCL-JUNO-PROD-TESTFX'
- ${{ if eq(variables['Build.SourceBranchName'], 'main') }}:
- template: /eng/common/templates-official/job/onelocbuild.yml@self
parameters:
GitHubOrg: microsoft
MirrorRepo: testfx
LclSource: lclFilesfromPackage
LclPackageId: 'LCL-JUNO-PROD-TESTFX'

- template: eng\common\templates-official\post-build\post-build.yml@self

0 comments on commit 7219e68

Please sign in to comment.