Update build and depoly.yml

This commit is contained in:
wood chen 2024-10-09 13:12:14 +08:00 committed by GitHub
parent 98e29e9527
commit 1311f5463d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22' # 使用你项目需要的 Go 版本
go-version: '1.23' # 使用你项目需要的 Go 版本
- name: Build for amd64
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o main-amd64 .