Commit 41ebf62 1 parent b330e4e commit 41ebf62 Copy full SHA for 41ebf62
File tree 1 file changed +30
-0
lines changed
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
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'
You can’t perform that action at this time.
0 commit comments