Skip to content

Split release into per-target workflows with individual badges#4

Merged
thomasnemer merged 1 commit into
mainfrom
per-target-release-badges
Feb 21, 2026
Merged

Split release into per-target workflows with individual badges#4
thomasnemer merged 1 commit into
mainfrom
per-target-release-badges

Conversation

@thomasnemer

Copy link
Copy Markdown
Contributor

Summary

  • Split the monolithic release.yml into 5 separate workflows, one per build target (Linux x86_64, Linux aarch64, macOS x86_64, macOS aarch64, Windows x86_64)
  • Each workflow independently builds its target and uploads the binary to the GitHub release using softprops/action-gh-release
  • Updated README with 5 per-target release badges instead of a single release badge, giving visibility into each platform's build status

Why

GitHub Actions badges only work at the workflow level — there's no way to get per-job badges from a single workflow. Splitting into separate workflows gives each platform its own badge.

Test plan

  • Verify all 5 workflow files have correct syntax (gh workflow list after merge)
  • Tag a test release and confirm all 5 workflows trigger and upload their artifacts to the release
  • Confirm README badges render correctly

GitHub Actions badges only work at the workflow level, not per-job.
To show per-platform build status, split the monolithic release.yml
into 5 separate workflows (one per build target). Each workflow
builds its target and uploads directly to the GitHub release.
@thomasnemer thomasnemer merged commit d9b5b02 into main Feb 21, 2026
1 check passed
@thomasnemer thomasnemer deleted the per-target-release-badges branch February 21, 2026 12:30
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