diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..921bba2 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,20 @@ +name: Go + +on: + release: + types: [ created ] + +jobs: + releases-matrix: + name: Release Go Binary + runs-on: ubuntu-latest + strategy: + matrix: + goos: [linux, windows, darwin, freebsd, openbsd, netbsd] + goarch: ["386", amd64] + steps: + - uses: actions/checkout@v2 + - uses: wangyoucao577/go-release-action@v1.15 + with: + goos: ${{ matrix.goos }} + goarch: ${{ matrix.goarch }}