We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db3a9f5 commit 4c508c9Copy full SHA for 4c508c9
.github/workflows/goreleaser.yaml
@@ -0,0 +1,34 @@
1
+name: goreleaser
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
7
+permissions:
8
+ contents: write
9
10
+jobs:
11
+ goreleaser:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ -
15
+ name: Checkout
16
+ uses: actions/checkout@v4
17
+ with:
18
+ fetch-depth: 0
19
20
+ name: Set up Go
21
+ uses: actions/setup-go@v5
22
23
+ name: Run GoReleaser
24
+ uses: goreleaser/goreleaser-action@v6
25
26
+ # either 'goreleaser' (default) or 'goreleaser-pro'
27
+ distribution: goreleaser
28
+ # 'latest', 'nightly', or a semver
29
+ version: '~> v2'
30
+ args: release --clean
31
+ env:
32
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33
+ # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
34
+ # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
0 commit comments