diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e1944dc --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,20 @@ +# https://goreleaser.com/actions/ +name: GoReleaser +on: + push: + tags: + - 'v*' +jobs: + release: + name: Release + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@master + - name: goreleaser + uses: docker://goreleaser/goreleaser + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + args: release + if: success()