From d10ed5788abab349bca331c1a76fee3f9242e5de Mon Sep 17 00:00:00 2001 From: John Taylor Date: Tue, 11 May 2021 10:25:06 -0400 Subject: [PATCH] initial commit --- .github/workflows/goreleaser.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/goreleaser.yml diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml new file mode 100644 index 0000000..61ef3dd --- /dev/null +++ b/.github/workflows/goreleaser.yml @@ -0,0 +1,29 @@ +on: + push: + tags: + - "*" + +jobs: + build: + name: GoReleaser build + runs-on: ubuntu-latest + + steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Set Up Go + uses: actions/setup-go@v2 + with: + go-version: '1.x' + id: go + + - name: run GoReleaser + uses: goreleaser/goreleaser-action@master + with: + version: latest + args: release --rm-dist -p 10 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}