Skip to content

Commit

Permalink
修正错误;添加查看golang版本号步骤
Browse files Browse the repository at this point in the history
  • Loading branch information
imshuai committed Dec 22, 2023
1 parent beafbad commit 43e8ea9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v4
with:
go-version: "1.21"
cache: false
go-version: ">=1.20"
cache: true
- name: Check golang version
run: go version
# 使用 goreleaser 进行生成多平台代码并且上传到github release进行发布
- name: Create release on GitHub
uses: docker://goreleaser/goreleaser:latest
with:
cache: true
args: release --clean
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 43e8ea9

Please sign in to comment.