tarp icon indicating copy to clipboard operation
tarp copied to clipboard

feat: Add automated Go binary release workflow

Open fabito opened this issue 10 months ago • 0 comments

Add GitHub Actions workflow to automate building and publishing Tarp executables for Linux and macOS.

  • Build and Publish Workflow

    • Create .github/workflows/release.yaml to 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-latest and macos-latest environments.
    • 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.
  • Go Module Updates (couldn't make it work with the original version)

    • Update go.mod to use Go version 1.23.0 and toolchain version 1.24.1.

Tests

See example release with artifacts:

  • https://github.com/fabito/tarp/releases/tag/v0.0.2

fabito avatar Apr 05 '25 09:04 fabito