feat: 上传编译文件
/ release (push) Successful in 21s
Details
/ release (push) Successful in 21s
Details
This commit is contained in:
parent
012b5076a5
commit
9eb7bbab7a
|
@ -19,7 +19,15 @@ jobs:
|
||||||
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
|
||||||
|
|
||||||
- name: 上传编译文件
|
- name: 上传linux编译文件
|
||||||
run: |
|
run: |
|
||||||
ls -la
|
curl --user lovezsh:${{secrets.ACTION_ACCESS_GIT}} \
|
||||||
curl --help all
|
--upload-file ./nip \
|
||||||
|
https://git.lovezsh.com/api/packages/lovezsh/generic/nip/1.0.0/nip_linux_amd64
|
||||||
|
|
||||||
|
- name: 上传lwindows编译文件
|
||||||
|
run: |
|
||||||
|
curl --user lovezsh:${{secrets.ACTION_ACCESS_GIT}} \
|
||||||
|
--upload-file ./nip.exe \
|
||||||
|
https://git.lovezsh.com/api/packages/lovezsh/generic/nip/1.0.0/nip_windows_amd64.exe
|
||||||
|
|
Loading…
Reference in New Issue