Skip to content

Commit

Permalink
Replace publishing build artifact with pipeline artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
GangWang01 committed Feb 22, 2024
1 parent d8f3ec5 commit e26d413
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ extends:
- job: job
templateContext:
outputs:
- output: buildArtifacts
- output: pipelineArtifact
displayName: 'Upload Symbols Artifact'
PathtoPublish: '$(Build.ArtifactStagingDirectory)/symbols'
artifactName: Symbols
- output: buildArtifacts
- output: pipelineArtifact
displayName: 'Upload Bin to drop'
PathtoPublish: '$(Build.ArtifactStagingDirectory)\bin'
artifactName: bin
- output: buildArtifacts
- output: pipelineArtifact
displayName: 'Upload NuGet to drop'
PathtoPublish: '$(Build.ArtifactStagingDirectory)\pkg'
artifactName: pkg
Expand All @@ -45,7 +45,7 @@ extends:
targetPath: '$(Build.StagingDirectory)\MicroBuild\Output'
artifactName: MicroBuildOutputs
continueOnError: true
- output: buildArtifacts
- output: pipelineArtifact
displayName: 'Upload logs to drop'
PathtoPublish: '$(Build.ArtifactStagingDirectory)\logs'
artifactName: logs
Expand All @@ -55,8 +55,6 @@ extends:
inputs:
signType: '$(SignType)'
zipSources: true
- powershell: |
& tree '$(Build.StagingDirectory)\MicroBuild'

- task: MSBuild@1
displayName: '/t:Pack'
Expand Down

0 comments on commit e26d413

Please sign in to comment.