From 9eb7bbab7a432da0503541e4b14d55eac75cb96a Mon Sep 17 00:00:00 2001 From: lovezsh Date: Sun, 25 Aug 2024 23:16:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=8A=E4=BC=A0=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/release.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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