From 34da7400f29d1784753e464b86cdc8f501bc3394 Mon Sep 17 00:00:00 2001 From: Eguzki Astiz Lezaun Date: Wed, 22 Nov 2023 18:16:28 +0100 Subject: [PATCH] publish binary on 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..8e524a7 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,20 @@ +--- +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@v3 + - uses: wangyoucao577/go-release-action@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: amd64