Skip to content

Publish to NuGet.org with trusted publishing (release-4.0) - #674

Merged
mauroservienti merged 1 commit into
release-4.0from
backport-trusted-publishing-to-4.0
Nov 1, 2026
Merged

mauroservienti merged 1 commit into
release-4.0from
backport-trusted-publishing-to-4.0

Conversation

@mauroservienti

Copy link
Copy Markdown
Member

Backports #673 to release-4.0, cherry-picked with -x, so stable releases tagged on release-4.0 publish through trusted publishing. It needs the same nuget.org policy and NUGET_USER secret, described in #673.

The release job exchanges a GitHub OIDC token for a short-lived NuGet.org
API key through NuGet/login, instead of using the long-lived
NUGET_API_KEY secret.

Closes #669.

(cherry picked from commit d60414e)
@mauroservienti
mauroservienti merged commit bc02278 into release-4.0 Nov 1, 2026
3 checks passed
@mauroservienti
mauroservienti deleted the backport-trusted-publishing-to-4.0 branch November 1, 2026 16:01
@mauroservienti mauroservienti mentioned this pull request Nov 1, 2026
7 tasks done
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