зеркало из https://github.com/dotnet/aspnetcore.git
38 строки
1.1 KiB
YAML
38 строки
1.1 KiB
YAML
#
|
|
# See https://learn.microsoft.com/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
|
|
|
|
parameters:
|
|
# Choose whether manual builds should create a loc PR. This parameter value is ignored for scheduled builds.
|
|
- name: createPr
|
|
default: false
|
|
displayName: Create a OneLocBuild pull request?
|
|
type: boolean
|
|
|
|
variables:
|
|
- name: _TeamName
|
|
value: AspNetCore
|
|
- template: /eng/common/templates/variables/pool-providers.yml
|
|
|
|
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: ${{ or(ne(variables['Build.Reason'], 'Manual'), eq(parameters.createPr, 'true')) }}
|
|
LclPackageId: 'LCL-JUNO-PROD-ASPNETCORE'
|
|
LclSource: lclFilesFromPackage
|
|
MirrorRepo: aspnetcore
|