2021-12-18 07:35:05 +08:00
|
|
|
trigger: none
|
|
|
|
pr: none
|
|
|
|
schedules:
|
|
|
|
- cron: "0 3 * * 2-6" # Run at 03:00 UTC Tuesday through Saturday (After the work day in Pacific, Mon-Fri)
|
|
|
|
displayName: "Nightly Localization Build"
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- main
|
|
|
|
always: false # only run if there's code changes!
|
|
|
|
|
|
|
|
pool:
|
|
|
|
vmImage: windows-2019
|
|
|
|
|
|
|
|
resources:
|
|
|
|
repositories:
|
|
|
|
- repository: self
|
|
|
|
type: git
|
|
|
|
ref: master
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- checkout: self
|
|
|
|
clean: true
|
|
|
|
submodules: false
|
|
|
|
fetchDepth: 1 # Don't need a deep checkout for loc files!
|
|
|
|
persistCredentials: true
|
|
|
|
|
2024-05-04 03:28:49 +08:00
|
|
|
- task: MicrosoftTDBuild.tdbuild-task.tdbuild-task.TouchdownBuildTask@3
|
2021-12-18 07:35:05 +08:00
|
|
|
displayName: 'Touchdown Build - 37400, PRODEXT'
|
|
|
|
inputs:
|
|
|
|
teamId: 37400
|
2024-05-04 03:28:49 +08:00
|
|
|
TDBuildServiceConnection: $(TouchdownServiceConnection)
|
|
|
|
authType: SubjectNameIssuer
|
2021-12-18 07:35:05 +08:00
|
|
|
resourceFilePath: |
|
|
|
|
**\Resources.resx
|
|
|
|
**\Resource.resx
|
|
|
|
**\Resources.resw
|
|
|
|
outputDirectoryRoot: LocOutput
|
|
|
|
appendRelativeDir: true
|
|
|
|
pseudoSetting: Included
|
|
|
|
|
|
|
|
# Saving one of these makes it really easy to inspect the loc output...
|
|
|
|
- powershell: 'tar czf LocOutput.tar.gz LocOutput'
|
|
|
|
displayName: 'PowerShell Script'
|
|
|
|
|
2024-04-02 01:29:45 +08:00
|
|
|
- publish: LocOutput.tar.gz
|
2021-12-18 07:35:05 +08:00
|
|
|
displayName: 'Publish Artifact: LocOutput'
|
2024-04-02 01:29:45 +08:00
|
|
|
artifact: LocOutput
|