From 86b2a30f81b9b93133aaa7e7c9d8fa691b837130 Mon Sep 17 00:00:00 2001 From: HilkopterBob Date: Tue, 20 Aug 2024 09:29:23 +0200 Subject: [PATCH] ci: add binary release --- .github/workflows/release-binary.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/release-binary.yml diff --git a/.github/workflows/release-binary.yml b/.github/workflows/release-binary.yml new file mode 100644 index 0000000..e633643 --- /dev/null +++ b/.github/workflows/release-binary.yml @@ -0,0 +1,21 @@ +# .github/workflows/release.yaml + +on: + release: + types: [created] + +permissions: + contents: write + packages: write + +jobs: + release-linux-amd64: + name: release linux/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: wangyoucao577/go-release-action@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: amd64