Skip to content

Commit

Permalink
Publish deployables as an artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Jan 29, 2024
1 parent 7477a3d commit f9e1032
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions azure-pipelines/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,9 @@ steps:
displayName: 🔏 Code sign
condition: and(succeeded(), eq(variables['System.TeamFoundationCollectionUri'], 'https://dev.azure.com/andrewarnott/'), eq(variables['Agent.OS'], 'Windows_NT'), ne(variables['Build.Reason'], 'PullRequest'))

- powershell: azure-pipelines/variables/_pipelines.ps1
failOnStderr: true
displayName: ⚙ Update pipeline variables based on build outputs
condition: succeededOrFailed()

- powershell: azure-pipelines/artifacts/_pipelines.ps1 -ArtifactNameSuffix "-$(Agent.JobName)" -Verbose
failOnStderr: true
displayName: 📢 Publish artifacts
condition: succeededOrFailed()
- publish: bin/Packages/$(BuildConfiguration)
artifact: deployables
displayName: 📢 Publish deployables

- powershell: dotnet nuget push 'bin/Packages/$(BuildConfiguration)/*.nupkg' -s $(ci_feed) -k azdo --skip-duplicate
displayName: 📦 Push packages to CI feed
Expand Down

0 comments on commit f9e1032

Please sign in to comment.