Open michaelsanford opened 2 years ago
Hey, Sure! GitHub Actions and storing them in GitHub would be great!
tbh, I always getting tools written in Go with go install
, not sure how many users getting tools by binaries! (homebrew is good, but too much hustle to add it seems!)
Cool, I'll take a stab at it! I've done this before with Appveyor, but I prefer to try with Github Actions since it's now available; you seem ok with this plan.
No ETA right now, but I'll have more time over the holiday break.
I agree that go install
is perfectly idiomatic. My suggestion came up because I suggested this tool to some people in my Operations team, and they don't have any go dev environment and don't want to manage one.
For reference, here is a GitHub Actions script that builds binaries for win, linux and macos and uploads them as release assets: https://github.com/mlange-42/dirstat/blob/main/.github/workflows/release.yml
Could also use a build matrix to reduce code repetitions.
these days I am inclined not distribute binaries for Go projects.
I would rather keep go install
version.
Let's see if there is enough traction for non Go community, then let's def add binaries!
keeping issue open. will collect requests here!
Would you accept a PR to do a CI build of native binaries in order to distribute it to those who don't have or want the
go
toolchain?( Super cool tool ! )