Skip to content

ci: extract publish workflow with NuGet trusted publishing#265

Merged
amis92 merged 1 commit intomainfrom
ci/publish-workflow
Feb 28, 2026
Merged

ci: extract publish workflow with NuGet trusted publishing#265
amis92 merged 1 commit intomainfrom
ci/publish-workflow

Conversation

@amis92
Copy link
Copy Markdown
Member

@amis92 amis92 commented Feb 28, 2026

Summary

Extracts build-test-pack-push pipeline into a standalone publish.yml reusable workflow.

New: publish.yml

Callable via workflow_dispatch and workflow_call:

gh workflow run publish.yml -f ref=v0.14.0 -f push-to=all

Key features:

  • push job uses environment: package-release for protection rules
  • NuGet.org uses trusted publishing (OIDC via NuGet/login@v1) - no API key secrets
  • Optional comment-id input for chatops status updates

Simplified: deploy-command.yml

Thin chatops wrapper calling publish.yml as reusable workflow.

Other changes

  • Fix deprecated set-output in tag-command.yml
  • Add Release Process docs to README.md

- Create publish.yml: reusable (workflow_call) + direct (workflow_dispatch)
  with NuGet trusted publishing (OIDC via NuGet/login@v1, user: warhub)
- Push job uses environment: package-release for protection rules
- Optional comment-id input for status updates and reactions
- Simplify deploy-command.yml to chatops-only, calling publish.yml
- Fix deprecated ::set-output in tag-command.yml
- Document release process in README.md

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@amis92 amis92 merged commit c5f0055 into main Feb 28, 2026
4 checks passed
@amis92 amis92 deleted the ci/publish-workflow branch February 28, 2026 16:29
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.

1 participant