工作流产物上传制品库
All checks were successful
Go CI / test-and-build (push) Successful in 1m32s

This commit is contained in:
2026-04-05 23:30:47 +08:00
parent ac5aca72f5
commit eda0ac9e40

View File

@@ -31,4 +31,13 @@ jobs:
# run: go test -v -race -coverprofile=coverage.out ./...
- name: Build
run: go build -v -o butterfliu .
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