You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Publish the .NET SDK to NuGet with trusted publishing #1975
Goal: Publish the generated .NET SDK to NuGet with trusted publishing (GitHub OIDC exchanged for a short-lived API key) instead of the expired long-lived NUGET_TOKEN secret, so the next generated release doesn't bring the broken workflow back.
What changes:
ci(dotnet): publish to NuGet with trusted publishing #1974 updates templates/dotnet/.github/workflows/publish.yml.twig: adds job permissions (contents: read, id-token: write), a NuGet/login step pinned to v1.2.0 with user from the NUGET_USER repository variable, and pushes with steps.login.outputs.NUGET_API_KEY.
Add the nuget.org Trusted Publishing policy (owner Appwrite, repo appwrite/sdk-for-dotnet, workflow publish.yml, no environment) and set the NUGET_USER repository variable on appwrite/sdk-for-dotnet. Reported done in ci: publish to NuGet with trusted publishing sdk-for-dotnet#105.
Retry the .NET release and confirm the package lands on NuGet.
Activity
ChiragAgg5k commentedon Oct 6, 2026
Released in sdk-generator 5.3.9 (contains #1974).