From bb399846a960eb2f4fdb388770aaa9bc09c036f6 Mon Sep 17 00:00:00 2001 From: cpliakas Date: Thu, 21 Jan 2021 11:14:43 -0500 Subject: [PATCH] Update goreleaser workflow --- .github/workflows/main.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b924b1d..c82dd69 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,5 +11,18 @@ jobs: steps: - uses: actions/checkout@v2 - - name: GoReleaser Action - uses: goreleaser/goreleaser-action@v2.4.1 + + - + name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.15 + + - + name: Run GoReleaser + uses: goreleaser/goreleaser-action@v2 + with: + version: latest + args: release --rm-dist + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}