Update go.yml

This commit is contained in:
Chris Lu 2020-10-29 22:49:29 -07:00 committed by GitHub
parent 6560ac6466
commit 23a0551c26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,3 +35,16 @@ jobs:
- name: Test - name: Test
run: cd weed; go test -v ./... 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