diff --git a/eng/pipelines/templates/stages/archetype-net-release.yml b/eng/pipelines/templates/stages/archetype-net-release.yml index 46464ec1c5ea..06be144e9aa5 100644 --- a/eng/pipelines/templates/stages/archetype-net-release.yml +++ b/eng/pipelines/templates/stages/archetype-net-release.yml @@ -132,11 +132,6 @@ stages: packageParentPath: '$(Pipeline.Workspace)' packagesToPush: '$(Pipeline.Workspace)/${{parameters.ArtifactName}}-signed/${{artifact.name}}/*.nupkg;!$(Pipeline.Workspace)/${{parameters.ArtifactName}}-signed/${{artifact.name}}/*.symbols.nupkg' publishVstsFeed: ${{ parameters.DevOpsFeedID }} - - ${{if ne(artifact.skipSymbolsUpload, 'true')}}: - - output: pipelineArtifact - displayName: 'Store converted symbols in ${{parameters.ArtifactName}}-windows-symbols artifact' - targetPath: $(Build.ArtifactStagingDirectory)/symbols - artifactName: ${{parameters.ArtifactName}}-windows-symbols strategy: runOnce: @@ -156,6 +151,14 @@ stages: image: azsdk-pool-mms-win-2022-1espt os: windows + templateContext: + outputs: + - ${{if ne(artifact.skipSymbolsUpload, 'true')}}: + - output: pipelineArtifact + displayName: 'Store converted symbols in ${{parameters.ArtifactName}}-symbols artifact' + targetPath: $(Build.ArtifactStagingDirectory)/symbols + artifactName: ${{parameters.ArtifactName}}-symbols + strategy: runOnce: deploy: