Repository navigation
Publish to NuGet.org through trusted publishing - #217
Merged
Merged
Conversation
nuget.org now caps API keys at 30 days and steers GitHub Actions to trusted publishing. The release workflow trades its OIDC token for a one-hour key through NuGet/login, which needs id-token: write and the nuget.org username in the NUGET_USER secret, and the trusted publishing policy on nuget.org for TQLApp/TQL and release.yml. NUGET_API_KEY is no longer used. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RGjkV4gS8yYKqvzQa4b3Tg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
nuget.org now caps API keys at 30 days and steers GitHub Actions to trusted publishing. The v0.11 release run failed on its first push with an expired
NUGET_API_KEY; nothing was published.The release workflow now trades its OIDC token for a one-hour nuget.org key through
NuGet/login@v1, right before the two pushes:id-token: writeadded to the workflow's permissions.userinput reads the nuget.org profile name from theNUGET_USERsecret, as the docs recommend.pvginkel, repositoryTQLApp/TQL, workflowrelease.yml, no environment) is in place, andNUGET_API_KEYhas been deleted.After merge,
v0.11moves to the merge commit: a tag push runs the workflow as it is at the tagged commit.Not yet proven: whether the temporary key can push a never-published package ID (
TQLApp.Plugins.YouTrack) and the symbol packages. The v0.11 run is the test;--skip-duplicatelets a re-run pick up where it stopped.🤖 Generated with Claude Code
https://claude.ai/code/session_01RGjkV4gS8yYKqvzQa4b3Tg