mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-20 21:33:10 -07:00
use fc
This commit is contained in:
parent
82b8ffa4d7
commit
d339c148f2
1 changed files with 9 additions and 5 deletions
|
@ -5,8 +5,6 @@
|
|||
# resources to run.
|
||||
#
|
||||
|
||||
# Expects a variable called LocServiceKey to contain the OAuth client secret for Touchdown.
|
||||
|
||||
schedules:
|
||||
- cron: "0 5 * * *"
|
||||
displayName: Daily sync
|
||||
|
@ -20,6 +18,9 @@ pr: none
|
|||
|
||||
name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr)
|
||||
|
||||
variables:
|
||||
isMainBranch: ${{ eq(variables['Build.SourceBranch'], 'refs/heads/main') }}
|
||||
|
||||
jobs:
|
||||
- job: Localize
|
||||
pool:
|
||||
|
@ -30,15 +31,18 @@ jobs:
|
|||
- checkout: self
|
||||
clean: true
|
||||
|
||||
- task: MicrosoftTDBuild.tdbuild-task.tdbuild-task.TouchdownBuildTask@2
|
||||
- task: MicrosoftTDBuild.tdbuild-task.tdbuild-task.TouchdownBuildTask@4
|
||||
displayName: Send resources to Touchdown Build
|
||||
inputs:
|
||||
teamId: 86
|
||||
TDBuildServiceConnection: EE-TDBuild-Localization
|
||||
authType: FederatedIdentity
|
||||
FederatedIdentityServiceConnection: EE-TDBuild-Localization-FC
|
||||
isPreview: false
|
||||
relativePathRoot: src/Calculator/Resources/en-US/
|
||||
resourceFilePath: '*.resw'
|
||||
outputDirectoryRoot: src/Calculator/Resources/
|
||||
${{ if eq(variables['isMainBranch'], false) }}:
|
||||
localizationTarget: false
|
||||
|
||||
- script: |
|
||||
cd $(Build.SourcesDirectory)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue