What to build
Migrate MiniScaffold releases and generated library projects from long-lived NuGet API keys to NuGet Trusted Publishing.
Use NuGet/login@v1 to exchange GitHub OIDC tokens for short-lived NuGet API keys. Preserve the existing build contract and GitHub release behavior.
Update generated setup guidance and regression coverage. After a verified trusted publication, remove the reusable MiniScaffold credential.
Acceptance criteria
Blocked by
- None — can start immediately.
References
What to build
Migrate MiniScaffold releases and generated library projects from long-lived NuGet API keys to NuGet Trusted Publishing.
Use
NuGet/login@v1to exchange GitHub OIDC tokens for short-lived NuGet API keys. Preserve the existing build contract and GitHub release behavior.Update generated setup guidance and regression coverage. After a verified trusted publication, remove the reusable MiniScaffold credential.
Acceptance criteria
TheAngryByrd, repositoryMiniScaffold, workflowpublish.yml, and environmentnuget.NUGET_USERin the existing GitHub environment.id-token: writeand the permissions required to create GitHub releases.NuGet/login@v1immediately before publishing.NUGET_API_KEYthrough the existing build input without changing the build-script publishing contract.NUGET_TOKENsecret. Do not add an automatic API-key fallback.NUGET_USERsetup.NUGET_TOKENsecret, and revoke the old scoped key.Blocked by
References