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