lit-bb-hack-tools icon indicating copy to clipboard operation
lit-bb-hack-tools copied to clipboard

Add Goreleaser

Open edoardottt opened this issue 10 months ago • 0 comments

In resource-constrained environments we sometimes cannot afford to install full-blown Go + build packages with it: good practice is to have pre-packaged binary releases for each platform.

You can include this in a GitHub action workflow, by leveraging something like the https://github.com/marketplace/actions/go-release-binaries action which automates the process.

For reference:

  • https://github.com/marketplace/actions/goreleaser-action
  • https://github.com/edoardottt/cariddi/blob/main/.goreleaser.yaml
  • https://github.com/edoardottt/cariddi/blob/main/.github/release.yml
  • https://github.com/edoardottt/cariddi/blob/main/.github/workflows/release-binary.yml
  • https://github.com/edoardottt/cariddi/blob/main/.github/workflows/release-test.yml

edoardottt avatar Apr 15 '24 07:04 edoardottt