From 5e4d5ef6d82e82609f3711595d889f5e073bb8b8 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sun, 1 Sep 2024 17:42:55 +0200 Subject: [PATCH] new: [workflow] generate go release --- .github/workflows/release.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..d2313c6 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,20 @@ + +on: + push: + 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