Skip to content

Use NuGet trusted publishing#556

Merged
runceel merged 1 commit into
mainfrom
runceel-nuget-trusted-publishing
Jun 24, 2026
Merged

Use NuGet trusted publishing#556
runceel merged 1 commit into
mainfrom
runceel-nuget-trusted-publishing

Conversation

@runceel

@runceel runceel commented Jun 24, 2026

Copy link
Copy Markdown
Owner

NuGet publishing now uses Trusted Publishing instead of the removed long-lived NUGET_APIKEY repository secret.

This updates the tag-triggered publish job to request an OIDC token with id-token: write, log in through NuGet/login@v1 using secrets.NUGET_USER, and pass the short-lived token output to dotnet nuget push. The workflow intentionally does not set a GitHub environment, so the matching nuget.org Trusted Publishing policy should leave Environment blank.

Validation: dotnet test ReactiveProperty.slnx --verbosity minimal

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@runceel runceel merged commit 01d0e44 into main Jun 24, 2026
1 check failed
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