Update build_binary.yml

This commit is contained in:
Chris Lu 2020-10-29 21:01:25 -07:00 committed by GitHub
parent ba64390555
commit 4c231054fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ jobs:
# The `Go` compiler version. # The `Go` compiler version.
goversion: 1.14 # optional, default is goversion: 1.14 # optional, default is
# Additional arguments to pass the go build command. # Additional arguments to pass the go build command.
build_flags: 5BytesOffset # optional, default is build_flags: -tags 5BytesOffset # optional, default is
# Values to provide to the -ldflags argument # Values to provide to the -ldflags argument
ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}} ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}
# Where to run `go build .` # Where to run `go build .`