-
Notifications
You must be signed in to change notification settings - Fork 84
/
one-loc-build.yml
37 lines (31 loc) · 1.07 KB
/
one-loc-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: 1loc_$(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.r)
pool:
vmImage: 'windows-latest'
steps:
- task: OneLocBuild@2
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
inputs:
locProj: 'Localize/LocProject.json'
outDir: '$(Build.ArtifactStagingDirectory)'
repoType: gitHub
isEnablePseudoLanguagesSelected: false
isCreatePrSelected: true
gitHubPatVariable: $(GithubPAT)
gitHubPrMergeMethod: squash
isDeletePrSourceBranchSelected: false
packageSourceAuth: 'patAuth'
dependencyPackageSource: 'https://pkgs.dev.azure.com/azure-logic-apps-ux/logic-apps-ux/_packaging/designer/nuget/v3/index.json'
- task: ComponentGovernanceComponentDetection@0
displayName: Component Detection
# - task: notice@0
# displayName: Generate NOTICE.txt file
# inputs:
# outputfile: $(Build.SourcesDirectory)/NOTICE.txt
# outputformat: text
# - publish: NOTICE.txt
# artifact: NOTICE
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: loc'
inputs:
ArtifactName: loc