Skip to content

feat: publish via NuGet Trusted Publishing (OIDC)#12

Merged
StevenTCramer merged 1 commit into
masterfrom
dev
Jun 10, 2026
Merged

feat: publish via NuGet Trusted Publishing (OIDC)#12
StevenTCramer merged 1 commit into
masterfrom
dev

Conversation

@StevenTCramer

Copy link
Copy Markdown
Contributor

Summary

The v1.0.0-beta.5 release run failed at the push step with 403 — the PUBLISH_TO_NUGET_ORG API key has expired. Switch to NuGet Trusted Publishing (OIDC) via nuget/login@v1, same as timewarp-nuru. A trusted publishing policy for this repo has been configured on nuget.org under TimeWarp.Enterprises.

  • Job gets id-token: write permission
  • nuget/login@v1 runs on release/workflow_dispatch and exchanges the OIDC token for a short-lived API key
  • That key is passed to dev workflow --api-key; no long-lived secret remains

Test plan

  • PR CI exercises the pr path (build/test)
  • After merge, workflow_dispatch on master publishes 1.0.0-beta.5 via OIDC

🤖 Generated with Claude Code

Replace the expired PUBLISH_TO_NUGET_ORG secret with nuget/login@v1,
matching timewarp-nuru. The job gets id-token: write and passes the
short-lived OIDC-issued key to dev workflow --api-key.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@StevenTCramer StevenTCramer merged commit 1f7610d into master Jun 10, 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