Skip to content

Commit 169b38b

Browse files
committed
fix GoReleaser
1 parent 1ae8ec1 commit 169b38b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,24 @@ jobs:
2828

2929
goreleaser:
3030
runs-on: ubuntu-latest
31-
container: golang:1.22
3231
needs: [ tag ]
32+
3333
steps:
3434
- name: Checkout
3535
uses: actions/checkout@v2
3636
with:
3737
fetch-depth: 0
38+
39+
- name: Set up Go
40+
uses: actions/setup-go@v4
41+
with:
42+
go-version: 1.22
43+
3844
- name: Run GoReleaser
3945
uses: goreleaser/goreleaser-action@v5
4046
with:
4147
distribution: goreleaser
4248
version: latest
43-
args: release --rm-dist
49+
args: release --clean
4450
env:
4551
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)