Add release binary workflow - #70
Merged
Merged
Conversation
Automatically build and upload pre-built binaries when a GitHub release is published. Also supports manual workflow_dispatch to backfill binaries for prior releases. Targets: linux amd64/arm64 (musl), macOS amd64/arm64, Windows amd64. Includes SHA256 checksums, per-binary smoke tests, and a validation job that verifies the tag and release exist before building. Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…h testing" This reverts commit 27de486.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a GitHub Actions workflow to automatically build and upload pre-built binaries when a release is published, with manual dispatch support for backfilling prior releases.
release: published(automatic) andworkflow_dispatchwith a tag input (manual backfill)workflow_dispatchruns, verifying the tag and GitHub Release exist before building--version) on every binary before uploadcontents: readat workflow level,contents: writeonly on the upload jobRelated to #68 — takes a different approach (no Docker/GHCR, adds manual dispatch, checksums, validation, and smoke tests). Docker support is planned as a follow-up.
Test plan
workflow_dispatchfor an existing tag (v0.1.10) and verify binaries + checksums appear on the release (run here)Validated darwin-arm64 and linux-amd64 on the respective plaforms.
workflow_dispatchwith an invalid tag and verify it fails at the validation step (run here)Generated with Devin