Skip to content

Commit b27ae2e

Browse files
author
CodingWizKid
committed
adjust release
1 parent d2f75e0 commit b27ae2e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
fetch-depth: 0
2525
- name: Git Fetch
2626
run: git fetch --force --tags
27-
- name: Set up Go
28-
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
27+
- name: Setup go
28+
uses: actions/setup-go@v4
2929
with:
30-
go-version: 1.20
30+
go-version: stable
3131
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
3232
with:
3333
path: |
@@ -52,9 +52,10 @@ jobs:
5252
username: ${{ github.actor }}
5353
password: ${{ secrets.GITHUB_TOKEN }}
5454

55-
- name: Run GoReleaser
56-
uses: goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7 # v4.3.0
55+
- name: Release with Goreleaser
56+
uses: goreleaser/goreleaser-action@v4
5757
with:
58+
distribution: goreleaser
5859
version: latest
5960
args: release --clean
6061
env:

0 commit comments

Comments
 (0)