fix: 语法错误
/ release (push) Successful in 1m10s
Details
/ release (push) Successful in 1m10s
Details
This commit is contained in:
parent
01c337f62b
commit
c95e68a38c
|
@ -1,19 +1,20 @@
|
|||
on:
|
||||
push:
|
||||
tags:
|
||||
- v*
|
||||
jobs:
|
||||
release:
|
||||
runs-on: lego
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: http://${{secrets.ACTION_ACCESS_GIT}}@git.lovezsh.com/actions/checkout@v4
|
||||
|
||||
- name: build
|
||||
uses: https://github.com/actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.22.4"
|
||||
run: |
|
||||
GOOS=linux GOARCH=amd64 go build -o nip cmd/main.go
|
||||
GOOS=windows GOARCH=amd64 go build -o nip.exe cmd/main.go
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v*
|
||||
jobs:
|
||||
release:
|
||||
runs-on: lego
|
||||
steps:
|
||||
- name: 检出代码
|
||||
uses: http://${{secrets.ACTION_ACCESS_GIT}}@git.lovezsh.com/actions/checkout@v4
|
||||
|
||||
- name: 设置go环境
|
||||
uses: https://github.com/actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.22.4"
|
||||
|
||||
- name: 编译
|
||||
run: |
|
||||
GOOS=linux GOARCH=amd64 go build -o nip cmd/main.go
|
||||
GOOS=windows GOARCH=amd64 go build -o nip.exe cmd/main.go
|
Loading…
Reference in New Issue