feat: 添加gitea action flows
/ release (push) Failing after 0s
Details
/ release (push) Failing after 0s
Details
This commit is contained in:
parent
98f555391f
commit
c33a31d2bd
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
|
||||
- name: upload
|
||||
run: |
|
||||
curl --help all
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue