Skip to content

Commit 404cf90

Browse files
committed
chore: Update release workflow
Take latest workflow template from goreleaser docs.
1 parent bc7fc90 commit 404cf90

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,16 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
1416
- uses: actions/setup-go@v5
1517
with:
1618
go-version: "1.23"
17-
- uses: goreleaser/goreleaser-action@v6
19+
- name: Run GoReleaser
20+
uses: goreleaser/goreleaser-action@v6
1821
with:
22+
distribution: goreleaser
23+
version: ~> v2
1924
args: release --clean
2025
env:
21-
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)