Skip to content

fix: use NuGet Trusted Publishing for releases - #2

Merged
peymanpro merged 3 commits into
mainfrom
fix/nuget-trusted-publishing
Oct 22, 2026
Merged

peymanpro merged 3 commits into
mainfrom
fix/nuget-trusted-publishing

Conversation

@peymanpro

Copy link
Copy Markdown
Owner

Summary

  • Replace the long-lived NUGET_API_KEY secret requirement with NuGet Trusted Publishing via NuGet/login@v1 and GitHub OIDC in publish.yml.
  • Publish both .nupkg and .snupkg artifacts using the short-lived key issued by NuGet.
  • Dispatch publish.yml from the release workflow so the NuGet policy remains bound to its configured workflow filename.
  • Update README release and publishing guidance to match the actual workflow and current GitHub Release version.

Validation

CI will build, test, pack, and validate the real package consumers. A successful PR/CI run does not itself publish packages; the current release still needs the publish.yml workflow dispatched for v1.0.1 after this change is merged.

@peymanpro
peymanpro merged commit f8a5ef7 into main Oct 22, 2026
1 check passed
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