Skip to content

Commit 41ebf62

Browse files
authored
Adding initial localization pipeline (#17906)
1 parent b330e4e commit 41ebf62

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

build/Localization.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# 'Allow scripts to access the OAuth token' was selected in pipeline. Add the following YAML to any steps requiring access:
2+
# env:
3+
# MY_ACCESS_TOKEN: $(System.AccessToken)
4+
trigger:
5+
branches:
6+
include:
7+
- refs/heads/main
8+
paths:
9+
include:
10+
- src
11+
12+
jobs:
13+
- job: Localization
14+
pool:
15+
vmImage: windows-latest
16+
steps:
17+
- checkout: self
18+
fetchDepth: 1
19+
persistCredentials: True
20+
- task: cesve.one-loc-build.one-loc-build.OneLocBuild@2
21+
env:
22+
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
23+
inputs:
24+
locProj: 'localization/LocProject.json'
25+
outDir: '$(Build.ArtifactStagingDirectory)'
26+
packageSourceAuth: patAuth
27+
patVariable: '$(OneLocBuildPat)'
28+
29+
- task: PublishBuildArtifacts@1
30+
displayName: 'Publish Artifact: drop'

0 commit comments

Comments
 (0)