diff --git a/.github/workflows/release-binary.yml b/.github/workflows/release-binary.yml new file mode 100644 index 0000000..0053d5b --- /dev/null +++ b/.github/workflows/release-binary.yml @@ -0,0 +1,30 @@ +name: Release Binaries + +on: + release: + types: [ published ] + +jobs: + binary: + runs-on: ubuntu-latest + env: + working-directory: go/src/github.com/gnolang/supernova + + steps: + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: 1.19 + + - name: Checkout + uses: actions/checkout@v3 + with: + path: ${{ env.working-directory }} + fetch-depth: 0 + + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v2 + with: + workdir: ${{ env.working-directory }} + version: 1.13.0 + args: release --rm-dist