From 03d108b056a472fa6b012ab05a98fa60b10c2a56 Mon Sep 17 00:00:00 2001 From: Matt Jeanes Date: Sat, 7 Mar 2020 21:30:14 +0000 Subject: [PATCH] Update publish-os-steps.yml --- .azuredevops/pipelines/templates/publish-os-steps.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.azuredevops/pipelines/templates/publish-os-steps.yml b/.azuredevops/pipelines/templates/publish-os-steps.yml index 188a62b1a..c9b426ad8 100644 --- a/.azuredevops/pipelines/templates/publish-os-steps.yml +++ b/.azuredevops/pipelines/templates/publish-os-steps.yml @@ -21,11 +21,17 @@ jobs: arguments: '-c $(BuildConfiguration) -r "${{ parameters.Runtime }}" -o $(Build.ArtifactStagingDirectory)/${{ parameters.OutputName }}' zipAfterPublish: false modifyOutputPath: false + + - task: DownloadPipelineArtifact@2 + inputs: + buildType: 'current' + artifactName: 'angular_dist' + targetPath: '$(Build.ArtifactStagingDirectory)/angular_dist' - task: CopyFiles@2 displayName: 'Copy Angular App ${{ parameters.name }}' inputs: - SourceFolder: '$(UILocation)dist' + SourceFolder: '$(Build.ArtifactStagingDirectory)/angular_dist' Contents: '**' TargetFolder: '$(Build.ArtifactStagingDirectory)/${{ parameters.OutputName }}/ClientApp/dist'