Add goreleaser GitHub action
Some checks failed
goreleaser / goreleaser (push) Has been cancelled

Signed-off-by: Christian Dupuis <cd@atomist.com>
This commit is contained in:
Christian Dupuis
2022-10-17 13:33:15 +02:00
parent 5073234a81
commit 81ff63779b

28
.github/workflows/goreleaser.yaml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: goreleaser
on:
push:
tags:
- 'v*.*.*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}