Skip to content

Commit

Permalink
Fix symbol artifact output (#46797)
Browse files Browse the repository at this point in the history
  • Loading branch information
hallipr authored Oct 23, 2024
1 parent 9ad8747 commit e665cae
Showing 1 changed file with 8 additions and 5 deletions.
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

0 comments on commit e665cae

Please sign in to comment.