Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
Add go-releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
im-kulikov committed Apr 23, 2021
1 parent 10d1b0d commit 69b2663
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,12 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }} #required
file: ./coverage.txt
fail_ci_if_error: true #optional (default = false)

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_TOKEN }}

0 comments on commit 69b2663

Please sign in to comment.