Skip to content

Commit 4341bf6

Browse files
committed
fix: release action error
1 parent 8b0173a commit 4341bf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
github_token: ${{ secrets.GITHUB_TOKEN }}
2626
goos: ${{ matrix.goos }}
2727
goarch: ${{ matrix.goarch }}
28-
goversion: "go.mod"
28+
goversion: 1.21.5
2929
pre_command: export CGO_ENABLED=0
3030
ldflags: "-s -w -X main.version=${{ github.event.release.tag_name }}"
3131
executable_compression: "upx -9"
@@ -48,7 +48,7 @@ jobs:
4848
github_token: ${{ secrets.GITHUB_TOKEN }}
4949
goos: ${{ matrix.goos }}
5050
goarch: ${{ matrix.goarch }}
51-
goversion: "go.mod"
51+
goversion: 1.21.5
5252
pre_command: export CGO_ENABLED=0
5353
ldflags: "-s -w -X main.version=${{ github.event.release.tag_name }}"
5454
project_path: "./cmd"

0 commit comments

Comments
 (0)