Skip to content

Commit c7c7345

Browse files
committed
BUILD/MINOR: goreleaser: add goreleaser github action to ci
1 parent c1b617c commit c7c7345

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/.goreleaser.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: goreleaser
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
jobs:
7+
goreleaser:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v2
12+
- name: Set up Go
13+
uses: actions/setup-go@v2
14+
with:
15+
go-version: 1.19
16+
- name: Run GoReleaser
17+
uses: goreleaser/goreleaser-action@v2
18+
with:
19+
distribution: goreleaser
20+
version: latest
21+
args: release --rm-dist --skip-anounce
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)