From 45c24ec766c0cbfc7db69de72f474251ec6780c7 Mon Sep 17 00:00:00 2001 From: E Camden Fisher Date: Tue, 14 Jul 2020 11:54:57 -0400 Subject: [PATCH] releaser --- .github/workflows/main.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..a4dd01d --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,22 @@ +name: Binary Release + +on: + release: + types: [created] + +jobs: + releases-matrix: + name: Release Go Binary + runs-on: ubuntu-latest + strategy: + matrix: + # build and publish in parallel: linux/amd64, windows/amd64, darwin/amd64 + goos: [linux, windows, darwin] + goarch: [amd64] + steps: + - uses: actions/checkout@v2 + - uses: wangyoucao577/go-release-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: ${{ matrix.goos }} + goarch: ${{ matrix.goarch }}