From 689a33a2bc905420d9c86d69d59642bd26b25cbd Mon Sep 17 00:00:00 2001 From: dominikhei <[email protected]> Date: Wed, 8 Apr 2026 15:06:59 +0200 Subject: [PATCH] Added a release workflow to the repo --- .github/workflows/go-release.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/go-release.yaml diff --git a/.github/workflows/go-release.yaml b/.github/workflows/go-release.yaml new file mode 100644 index 0000000..a943231 --- /dev/null +++ b/.github/workflows/go-release.yaml @@ -0,0 +1,25 @@ +on: + release: + types: [created] + +permissions: + contents: write + +jobs: + build-release: + runs-on: ubuntu-latest + strategy: + matrix: + os: [linux, darwin] + arch: [amd64, arm64] + + steps: + - uses: actions/checkout@v4 + + - name: Build and release + uses: wangyoucao577/go-release-action@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: ${{ matrix.os }} + goarch: ${{ matrix.arch }} + generate_checksum: true