Add release workflow to publish pre-built binaries#22
Merged
Swimburger merged 3 commits intomainfrom Mar 18, 2026
Merged
Conversation
Co-Authored-By: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Co-Authored-By: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com>
13 tasks
Co-Authored-By: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com>
amckinney
approved these changes
Mar 18, 2026
Self-ReviewThe release workflow looks clean. A few observations: No issues found
Minor observations (no action needed):
|
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 that builds cross-platform
protoc-gen-openapibinaries and publishes them as GitHub Release assets when a version tag (v*) is pushed.Motivation: Currently, consumers must install Go and compile from source via
go installon every CI run, which takes ~31s. Pre-built binaries allow direct download instead (~1-2s).Platforms: linux/amd64, linux/arm64, darwin/amd64, darwin/arm64, windows/amd64
Binary naming:
protoc-gen-openapi-{os}-{arch}[.exe]Review & Testing Checklist for Human
v0.1.13) to verify it creates a release with the expected binary assets.^1.20) is still appropriate for this project'sgo.mod.windows/arm64should be added to the platform list.Notes
VERSIONvariable is captured fromGITHUB_REF_NAMEbut not currently injected into the binary via ldflags. This is fine since the binary doesn't read a version from ldflags, but could be wired up later if needed.Link to Devin session: https://app.devin.ai/sessions/9aa3a5abd77d4e069bcfade48423e986
Requested by: @Swimburger