Update release workflow (#2795)

* Update release workflow

* rename
This commit is contained in:
David Zhao
2024-06-15 19:55:16 -07:00
committed by GitHub
parent ecfc42c3f9
commit 88a340202a
3 changed files with 7 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.21'
go-version-file: "go.mod"
- name: Download Go modules
run: go mod download

View File

@@ -35,13 +35,13 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.21'
go-version-file: "go.mod"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --rm-dist
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}