From f474816a80eb9efe00d8477e4e5c7ab2742e14d3 Mon Sep 17 00:00:00 2001 From: Itsigo <113386020+Itsig0@users.noreply.github.com> Date: Sat, 22 Nov 2025 19:49:55 +0000 Subject: [PATCH] release action --- .github/workflows/go.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..4039088 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,40 @@ +# This workflow will build a golang project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go + +name: Simple Go Release + +on: + push: + tags: ['v*'] + +jobs: + release: + runs-on: ubuntu-latest + permissions: + contents: write + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Go + uses: actions/setup-go@v4 + with: + go-version: '1.25' + + - name: Setup + run: | + make setup + + - name: Build + run: | + make build + + - name: Create Release + uses: softprops/action-gh-release@v1 + with: + tag_name: ${{ github.ref_name }} + name: Release ${{ github.ref_name }} + body: "Automated release for ${{ github.ref_name }}" + files: | + tmp