diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 73606e7..cc55118 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -19,7 +19,15 @@ jobs: GOOS=linux GOARCH=amd64 go build -o nip cmd/main.go GOOS=windows GOARCH=amd64 go build -o nip.exe cmd/main.go - - name: 上传编译文件 + - name: 上传linux编译文件 run: | - ls -la - curl --help all \ No newline at end of file + curl --user lovezsh:${{secrets.ACTION_ACCESS_GIT}} \ + --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 + \ No newline at end of file