This commit is contained in:
@@ -31,4 +31,13 @@ jobs:
|
|||||||
# run: go test -v -race -coverprofile=coverage.out ./...
|
# run: go test -v -race -coverprofile=coverage.out ./...
|
||||||
|
|
||||||
- name: Build
|
- 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
|
||||||
Reference in New Issue
Block a user