@@ -4,7 +4,7 @@ parameters:
4
4
5
5
# Optional: A defined YAML pool - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#pool
6
6
pool : ' '
7
-
7
+
8
8
CeapexPat : $(dn-bot-ceapex-package-r) # PAT for the loc AzDO instance https://dev.azure.com/ceapex
9
9
GithubPat : $(BotAccount-dotnet-bot-repo-PAT)
10
10
@@ -27,7 +27,7 @@ parameters:
27
27
is1ESPipeline : ' '
28
28
jobs :
29
29
- job : OneLocBuild${{ parameters.JobNameSuffix }}
30
-
30
+
31
31
dependsOn : ${{ parameters.dependsOn }}
32
32
33
33
displayName : OneLocBuild${{ parameters.JobNameSuffix }}
@@ -99,22 +99,20 @@ jobs:
99
99
mirrorBranch : ${{ parameters.MirrorBranch }}
100
100
condition : ${{ parameters.condition }}
101
101
102
- - template : /eng/common/core-templates/steps/publish-build-artifacts.yml
103
- parameters :
104
- is1ESPipeline : ${{ parameters.is1ESPipeline }}
105
- args :
106
- displayName : Publish Localization Files
107
- pathToPublish : ' $(Build.ArtifactStagingDirectory)/loc'
108
- publishLocation : Container
109
- artifactName : Loc
110
- condition : ${{ parameters.condition }}
102
+ # Copy the locProject.json to the root of the Loc directory, then publish a pipeline artifact
103
+ - task : CopyFiles@2
104
+ displayName : Copy LocProject.json
105
+ inputs :
106
+ SourceFolder : ' $(Build.SourcesDirectory)/eng/Localize/'
107
+ Contents : ' LocProject.json'
108
+ TargetFolder : ' $(Build.ArtifactStagingDirectory)/loc'
109
+ condition : ${{ parameters.condition }}
111
110
112
- - template : /eng/common/core-templates/steps/publish-build -artifacts.yml
111
+ - template : /eng/common/core-templates/steps/publish-pipeline -artifacts.yml
113
112
parameters :
114
113
is1ESPipeline : ${{ parameters.is1ESPipeline }}
115
114
args :
116
- displayName : Publish LocProject.json
117
- pathToPublish : ' $(Build.SourcesDirectory)/eng/Localize/'
118
- publishLocation : Container
119
- artifactName : Loc
115
+ targetPath : ' $(Build.ArtifactStagingDirectory)/loc'
116
+ artifactName : ' Loc'
117
+ displayName : ' Publish Localization Files'
120
118
condition : ${{ parameters.condition }}
0 commit comments