diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..d96bd41 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,27 @@ +name: Release + +on: + release: + types: [created] + + +jobs: + releases-matrix: + name: Release Go Binaries + runs-on: ubuntu-latest + strategy: + matrix: + goos: [darwin, linux, windows] + goarch: [amd64] + steps: + - uses: actions/checkout@v2 + - uses: wangyoucao577/go-release-action@v1.14 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: ${{ matrix.goos }} + goarch: ${{ matrix.goarch }} + goversion: "https://golang.org/dl/go1.15.8.linux-amd64.tar.gz" + project_path: "./cmd/" + extra_files: README.md LICENSE + md5sum: FALSE + sha256sum: TRUE