fix: 语法错误
/ release (push) Successful in 1m10s Details

This commit is contained in:
lovezsh 2024-08-25 23:07:53 +08:00
parent 01c337f62b
commit c95e68a38c
1 changed files with 20 additions and 19 deletions

View File

@ -6,14 +6,15 @@ jobs:
release: release:
runs-on: lego runs-on: lego
steps: steps:
- name: checkout - name: 检出代码
uses: http://${{secrets.ACTION_ACCESS_GIT}}@git.lovezsh.com/actions/checkout@v4 uses: http://${{secrets.ACTION_ACCESS_GIT}}@git.lovezsh.com/actions/checkout@v4
- name: build - name: 设置go环境
uses: https://github.com/actions/setup-go@v5 uses: https://github.com/actions/setup-go@v5
with: with:
go-version: "1.22.4" go-version: "1.22.4"
- name: 编译
run: | run: |
GOOS=linux GOARCH=amd64 go build -o nip cmd/main.go GOOS=linux GOARCH=amd64 go build -o nip cmd/main.go
GOOS=windows GOARCH=amd64 go build -o nip.exe cmd/main.go GOOS=windows GOARCH=amd64 go build -o nip.exe cmd/main.go