From 550fe2402b108913b3253e73b2a1eac22a5423c7 Mon Sep 17 00:00:00 2001 From: Pavel Makarenko Date: Wed, 2 Oct 2024 16:36:36 +0100 Subject: [PATCH] Binary releases (#4) * releasing workflow * fixed release workflow --- .github/workflows/release.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..9a465cd --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,26 @@ +on: + release: + types: [created] + +permissions: + contents: write + packages: write + +jobs: + release-linux-amd64: + name: release linux/amd64 + runs-on: ubuntu-latest + strategy: + matrix: + goos: [linux] + goarch: [amd64] + + steps: + - uses: actions/checkout@v4 + - uses: wangyoucao577/go-release-action@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: ${{ matrix.goos }} + goarch: ${{ matrix.goarch }} + binary_name: killa + goversion: 1.22 \ No newline at end of file