Skip to content

Keep GitHub releases independent of registry publishing - #6

Merged
hbashton merged 1 commit into
mainfrom
fix/release-assets-before-registries
Jul 31, 2026
Merged

Keep GitHub releases independent of registry publishing#6
hbashton merged 1 commit into
mainfrom
fix/release-assets-before-registries

Conversation

@hbashton

Copy link
Copy Markdown
Owner

What changed

  • Create the GitHub release and upload binary assets before any optional registry publishing.
  • Move npm, NuGet, and crates.io publication into a separate best-effort job.
  • Skip NuGet cleanly when NUGET_USER is unavailable.
  • Isolate setup, OIDC, and publish failures and summarize their outcomes.

Why

The v0.0.6 release workflow completed linting and all builds, but an empty NUGET_USER caused NuGet/login to fail before softprops/action-gh-release ran. That prevented the GitHub release and binaries from being published even though all release artifacts were ready.

Impact

GitHub releases and downloadable binaries are now the mandatory release path. Optional package registry outages or missing credentials cannot block them.

Validation

  • actionlint .github/workflows/release.yml
  • git diff --check

@hbashton
hbashton merged commit e85575d into main Jul 31, 2026
12 checks passed
hbashton added a commit that referenced this pull request Jul 31, 2026
Keep GitHub releases independent of registry publishing
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