Skip to content

Update MSSQL publish.yml NuGet release step#314

Merged
bachuv merged 2 commits into
mainfrom
vabachu/update-nuget-release
May 20, 2026
Merged

Update MSSQL publish.yml NuGet release step#314
bachuv merged 2 commits into
mainfrom
vabachu/update-nuget-release

Conversation

@bachuv

@bachuv bachuv commented May 20, 2026

Copy link
Copy Markdown
Contributor

This pull request updates the NuGet release process in the eng/ci/publish.yml pipeline to support publishing multiple specific packages with improved control and validation. The changes replace the previous single release job with three separate jobs, each targeting a different package, and switch to using the 1ES.PublishNuget@1 task for publishing. This enhances maintainability, compliance, and package selection granularity.

NuGet Release Pipeline Improvements:

  • Replaced the single nugetRelease job with three dedicated jobs: one each for Microsoft.DurableTask.SqlServer, Microsoft.DurableTask.SqlServer.AzureFunctions, and Microsoft.Azure.Functions.Worker.Extensions.DurableTask.SqlServer.
  • Updated each job to use the 1ES.PublishNuget@1 task instead of the generic DotNetCoreCLI@2 task, improving compliance and validation.
  • Added fine-grained package selection in each job using the packagesToPush parameter, ensuring only the intended package is published and symbol packages are excluded.
  • Ensured each release job runs only after nugetApproval and uses the correct credentials for publishing to NuGet.org.

@bachuv bachuv requested a review from nytian May 20, 2026 22:24
@bachuv bachuv changed the title Update publish.yml NuGet release step Update MSSQL publish.yml NuGet release step May 20, 2026
@bachuv bachuv merged commit 21d80eb into main May 20, 2026
5 checks passed
@bachuv bachuv deleted the vabachu/update-nuget-release branch May 20, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants