Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix symbol artifact output
  • Loading branch information
hallipr committed Oct 23, 2024
commit c67c4926b3428f0bad7b631467576c98b3e7432d
13 changes: 8 additions & 5 deletions eng/pipelines/templates/stages/archetype-net-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down