Skip to content

Commit 3c8be3f

Browse files
committed
Fix action
1 parent a6f555f commit 3c8be3f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,10 @@ jobs:
3232
restore-keys: |
3333
${{ runner.os }}-go-
3434
35-
- name: Install GoReleaser
36-
run: |
37-
curl -sL https://install.goreleaser.com/github-cli.sh | bash
38-
3935
- name: Run GoReleaser
36+
uses: goreleaser/goreleaser-action@v4
37+
with:
38+
version: latest
39+
args: release --rm-dist
4040
env:
41-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42-
run: |
43-
goreleaser release --rm-dist
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)