From 23a0551c2612b8a1a05201481b5ea7eea1189dbc Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 29 Oct 2020 22:49:29 -0700 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b2948a0b7..3d9bcf4a2 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -35,3 +35,16 @@ jobs: - name: Test run: cd weed; go test -v ./... + + - name: Go Release Binaries + uses: wangyoucao577/go-release-action@v1.8 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux # default is + goarch: amd64 # default is + goversion: 1.14 # optional, default is + build_flags: -tags 5BytesOffset # optional, default is + ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}} + # Where to run `go build .` + project_path: weed + binary_name: weed-large-disk