Switch the loc build to a scheduled build
This commit is contained in:
parent
5890820d02
commit
b4bdc9197b
2 changed files with 30 additions and 8 deletions
|
@ -53,14 +53,6 @@ variables:
|
||||||
stages:
|
stages:
|
||||||
- stage: Build
|
- stage: Build
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/main')) }}:
|
|
||||||
- template: /eng/common/templates/job/onelocbuild.yml
|
|
||||||
parameters:
|
|
||||||
CreatePr: true
|
|
||||||
LclSource: lclFilesfromPackage
|
|
||||||
LclPackageId: 'LCL-JUNO-PROD-DOTNETINSTALLER'
|
|
||||||
MirrorBranch: main
|
|
||||||
MirrorRepo: installer
|
|
||||||
# This job is for build retry configuration.
|
# This job is for build retry configuration.
|
||||||
- job: Publish_Build_Configuration
|
- job: Publish_Build_Configuration
|
||||||
pool:
|
pool:
|
||||||
|
|
30
eng/localization.yml
Normal file
30
eng/localization.yml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
#
|
||||||
|
# See https://learn.microsoft.com/en-us/azure/devops/pipelines/yaml-schema for details on this file.
|
||||||
|
#
|
||||||
|
|
||||||
|
schedules:
|
||||||
|
# Cron timezone is UTC.
|
||||||
|
- cron: "0 18 * * *"
|
||||||
|
displayName: Run tests daily at 6 PM UTC (11 AM PT)
|
||||||
|
branches:
|
||||||
|
include:
|
||||||
|
- main
|
||||||
|
always: true
|
||||||
|
|
||||||
|
# Do not run in PR builds nor support other triggers.
|
||||||
|
pr: none
|
||||||
|
trigger: none
|
||||||
|
|
||||||
|
variables:
|
||||||
|
- name: _TeamName
|
||||||
|
value: SDK
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.Reason'], 'Manual'))) }}:
|
||||||
|
- template: /eng/common/templates/job/onelocbuild.yml
|
||||||
|
parameters:
|
||||||
|
CreatePr: ${{ ne(variables['Build.Reason'], 'Manual') }}
|
||||||
|
LclPackageId: 'LCL-JUNO-PROD-DOTNETINSTALLER'
|
||||||
|
LclSource: lclFilesFromPackage
|
||||||
|
MirrorBranch: main
|
||||||
|
MirrorRepo: installer
|
Loading…
Reference in a new issue