From ee1ed4351b0876cb54c50a1c146ddee756b5dbe4 Mon Sep 17 00:00:00 2001 From: Anish Mashankar <71963983+tuxiedev@users.noreply.github.com> Date: Sat, 6 Feb 2021 18:01:15 +0530 Subject: [PATCH] Use a different binaries releaser --- .github/workflows/release-artifacts.yml | 51 +++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/release-artifacts.yml diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml new file mode 100644 index 0000000..eff886e --- /dev/null +++ b/.github/workflows/release-artifacts.yml @@ -0,0 +1,51 @@ +name: Release pipeline + +on: + release: + types: [created] + +jobs: + release-linux-amd64: + name: release linux/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: wangyoucao577/go-release-action@v1.14 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: amd64 + extra_files: LICENSE + release-windows-amd64: + name: release windows/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: wangyoucao577/go-release-action@v1.14 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: windows + goarch: amd64 + extra_files: LICENSE + release-darwin-amd64: + name: release darwin/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: wangyoucao577/go-release-action@v1.14 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: darwin + goarch: amd64 + extra_files: LICENSE + release-linux-arm64: + name: release arm/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: wangyoucao577/go-release-action@v1.14 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: arm64 + extra_files: LICENSE