From eda0ac9e409d9021e288dd36fc03c2b71d4b595f Mon Sep 17 00:00:00 2001 From: lzw-723 Date: Sun, 5 Apr 2026 23:30:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=E4=BA=A7=E7=89=A9?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=88=B6=E5=93=81=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/go-ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/go-ci.yml b/.gitea/workflows/go-ci.yml index 5ea6ab5..c37bf23 100644 --- a/.gitea/workflows/go-ci.yml +++ b/.gitea/workflows/go-ci.yml @@ -31,4 +31,13 @@ jobs: # run: go test -v -race -coverprofile=coverage.out ./... - name: Build - run: go build -v -o butterfliu . \ No newline at end of file + run: | + mkdir -p build + GOOS=linux GOARCH=amd64 go build -v -o build/butterfliu-amd64 . + + - name: Upload to Gitea Artifacts + uses: https://gitea.com/actions/gitea-upload-artifact@v4 + with: + name: butterfliu-amd64-${{ github.sha }} + path: build/butterfliu-amd64 + retention-days: 30 \ No newline at end of file