Skip to content

ci(publish): add a nuget.org publish lane gated on NUGET_API_KEY - #84

Merged
mikemcdougall merged 1 commit into
trunkfrom
ci/nugetorg-publish-lane
Aug 5, 2026
Merged

ci(publish): add a nuget.org publish lane gated on NUGET_API_KEY#84
mikemcdougall merged 1 commit into
trunkfrom
ci/nugetorg-publish-lane

Conversation

@mikemcdougall

Copy link
Copy Markdown
Contributor

Downstream stable SDKs cannot publish restorable packages to nuget.org while Geospatial.Grpc lives only on the authenticated GitHub Packages feed — the blocker tracked as honua-sdk-dotnet#264.

Adds a Publish to nuget.org step after the GitHub Packages push: when the NUGET_API_KEY secret is configured it pushes the same artifacts to nuget.org with --skip-duplicate; when absent it skips with a ::warning:: instead of failing, so the existing GitHub Packages release path is unchanged until the credential exists. These packages are unsigned, which nuget.org accepts (it repository-signs all uploads).

Once the secret is in place, dispatching this workflow on tags v0.1.0-alpha.2 (the version honua-sdk-dotnet pins) and v0.1.0-alpha.3 puts both on the public feed.

Downstream stable SDKs cannot ship to nuget.org while Geospatial.Grpc
is only on the authenticated GitHub Packages feed (honua-sdk-dotnet#264).
Push to nuget.org after the GitHub Packages push whenever the
NUGET_API_KEY secret is configured; skip with a warning when it is not.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@mikemcdougall
mikemcdougall merged commit 73fc882 into trunk Aug 5, 2026
20 checks passed
@mikemcdougall
mikemcdougall deleted the ci/nugetorg-publish-lane branch August 5, 2026 17:55
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