mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Update go.yml
This commit is contained in:
parent
6560ac6466
commit
23a0551c26
13
.github/workflows/go.yml
vendored
13
.github/workflows/go.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue