Skip to content

ci: publish to nuget.org with Trusted Publishing - #8

Merged
michaelTBF merged 2 commits into
masterfrom
ci/nuget-trusted-publishing
Nov 5, 2026
Merged

michaelTBF merged 2 commits into
masterfrom
ci/nuget-trusted-publishing

Conversation

@michaelTBF

@michaelTBF michaelTBF commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

What

The publish job now uses nuget.org Trusted Publishing: permissions: id-token: write and NuGet/login@v1 (user michaelTBF, the profile that owns the policy), whose short-lived key replaces the stored NUGET_API_KEY secret (expired, so 1.8.0 failed to publish). The policy exists on nuget.org (owner Yulsn, repo YulsnApiClient, workflow ci.yml). No secrets needed; NUGET_API_KEY can be deleted.

Tests

Only a tag run exercises the publish job.

🤖 Generated with Claude Code

michaelTBF and others added 2 commits November 5, 2026 20:07
The publish job exchanges its GitHub OIDC token for a short-lived
nuget.org key (NuGet/login) instead of a stored NUGET_API_KEY, which had
expired. Needs the NUGET_USER secret (the nuget.org profile name).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@michaelTBF
michaelTBF merged commit e27fc55 into master Nov 5, 2026
2 checks passed
@michaelTBF
michaelTBF deleted the ci/nuget-trusted-publishing branch November 5, 2026 20:09
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