tarp
tarp copied to clipboard
feat: Add automated Go binary release workflow
Add GitHub Actions workflow to automate building and publishing Tarp executables for Linux and macOS.
-
Build and Publish Workflow
- Create
.github/workflows/release.yamlto define the build and publish process. - Trigger the workflow on push and pull request events to the main branch.
- Define a build job that runs on both
ubuntu-latestandmacos-latestenvironments. - Build Tarp executables for Linux and macOS and upload them as artifacts.
- Define a publish job that downloads the build artifacts and prepares them for publishing.
- Create
-
Go Module Updates (couldn't make it work with the original version)
- Update
go.modto use Go version 1.23.0 and toolchain version 1.24.1.
- Update
Tests
See example release with artifacts:
- https://github.com/fabito/tarp/releases/tag/v0.0.2