Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users/embetten/move publish steps #489

Merged
merged 11 commits into from
Mar 8, 2024
11 changes: 6 additions & 5 deletions build/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,9 @@ steps:
- script: dotnet pack MicrosoftCredentialProvider.sln -c $(BuildConfiguration) -o $(Build.ArtifactStagingDirectory)\$(BuildConfiguration) -p:${{ parameters.nuspecProperties }}
displayName: dotnet pack

- task: PublishPipelineArtifact@1
displayName: Publish Artifact $(Build.BuildNumber)
inputs:
artifact: '$(Build.BuildNumber)'
targetPath: '$(Build.ArtifactStagingDirectory)\$(BuildConfiguration)\'
- ${{ if eq(parameters.publish, 'true') }}:
- task: PublishPipelineArtifact@1
displayName: Publish Artifact $(Build.BuildNumber)
inputs:
artifact: '$(Build.BuildNumber)'
targetPath: '$(Build.ArtifactStagingDirectory)\$(BuildConfiguration)\'