From 302009cf59f5ad9f2f53e56f5f446923c37b817f Mon Sep 17 00:00:00 2001 From: James McDonald Date: Sun, 26 Apr 2026 18:22:48 +0200 Subject: [PATCH] Add github workflow --- .github/workflows/goreleaser.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/goreleaser.yaml diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml new file mode 100644 index 0000000..35e4241 --- /dev/null +++ b/.github/workflows/goreleaser.yaml @@ -0,0 +1,25 @@ +name: Release + +on: + push: + tags: + - "*" + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Check out + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Set up mise + uses: jdx/mise-action@v4 + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v6 + with: + distribution: goreleaser + version: "~> v2" + args: "release --clean" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}