Skip to content

Commit cec573a

Browse files
committed
set go version
1 parent 40c43d4 commit cec573a

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,22 @@ jobs:
1313
steps:
1414
-
1515
name: Checkout
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v5
1717
with:
1818
fetch-depth: 0
1919
-
2020
name: Set up Go
2121
uses: actions/setup-go@v5
22-
with:
23-
go-version: stable
2422
-
2523
name: Run GoReleaser
2624
uses: goreleaser/goreleaser-action@v6
2725
with:
28-
version: latest
26+
# either 'goreleaser' (default) or 'goreleaser-pro'
27+
distribution: goreleaser
28+
# 'latest', 'nightly', or a semver
29+
version: '~> v2'
2930
args: release --clean
3031
env:
31-
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}
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

Comments
 (0)