From 8b1f407b9624f70c47dac48a2f8f4fe0f7118dba Mon Sep 17 00:00:00 2001 From: Viliam Krizan Date: Wed, 8 Feb 2023 18:05:45 +0100 Subject: [PATCH] Add GitHub Action to build a release --- .github/workflows/release.yml | 15 +++++++++++++++ 1 file changed, 15 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..4c483e2 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,15 @@ +on: + release: + types: [created] + +jobs: + release-linux-amd64: + name: release linux/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: wangyoucao577/go-release-action@v1.35 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: amd64