Skip to content

Commit

Permalink
rework pack
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Jan 29, 2024
1 parent a980ccb commit 89598e5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 25 deletions.
13 changes: 0 additions & 13 deletions azure-pipelines/artifacts/deployables.ps1

This file was deleted.

13 changes: 9 additions & 4 deletions azure-pipelines/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,25 +94,30 @@ jobs:
- checkout: self
fetchDepth: 0 # avoid shallow clone so nbgv can do its work.
clean: true
submodules: true
- template: install-dependencies.yml
- template: pack.yml
- template: publish-deployables.yml

- job: WrapUp
dependsOn:
- Pack
- Windows
- Linux
- macOS
pool: ${{ parameters.windowsPool }} # Use Windows agent because PublishSymbols task requires it (https://github.com/microsoft/azure-pipelines-tasks/issues/13821).
condition: succeededOrFailed()
steps:
- checkout: self
fetchDepth: 0 # avoid shallow clone so nbgv can do its work.
fetchDepth: 1
clean: true
submodules: false
- template: install-dependencies.yml
- template: pack.yml
parameters:
initArgs: -NoRestore
- template: publish-symbols.yml
parameters:
includeMacOS: ${{ parameters.includeMacOS }}
- ${{ if parameters.RunTests }}:
- template: publish-codecoverage.yml
parameters:
includeMacOS: ${{ parameters.includeMacOS }}
- template: publish-deployables.yml
4 changes: 4 additions & 0 deletions azure-pipelines/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ steps:
failOnStderr: true
displayName: 📢 Publish artifacts
condition: succeededOrFailed()

- powershell: dotnet nuget push bin/Packages/$(BuildConfiguration)/*.nupkg" -s $(ci_feed) -k azdo --skip-duplicate
displayName: 📦 Push packages to CI feed
condition: and(succeeded(), ne(variables['ci_feed'], ''), ne(variables['Build.Reason'], 'PullRequest'))
8 changes: 0 additions & 8 deletions azure-pipelines/publish-deployables.yml

This file was deleted.

0 comments on commit 89598e5

Please sign in to comment.