Skip to content

Commit 1945b61

Browse files
committed
update github actions
1 parent 26644ac commit 1945b61

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
@@ -14,21 +14,19 @@ jobs:
1414
steps:
1515
-
1616
name: Checkout
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v3
1818
with:
1919
fetch-depth: 0
2020
-
2121
name: Set up Go
22-
uses: actions/setup-go@v2
22+
uses: actions/setup-go@v4
2323
with:
24-
go-version: 1.20
24+
go-version: 1.20.3
2525
-
2626
name: Run GoReleaser
27-
uses: goreleaser/goreleaser-action@v2
27+
uses: goreleaser/goreleaser-action@v4
2828
with:
29-
# either 'goreleaser' (default) or 'goreleaser-pro'
30-
distribution: goreleaser
3129
version: latest
32-
args: release --rm-dist
30+
args: release --clean
3331
env:
3432
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)