aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2020-10-29 22:49:29 -0700
committerGitHub <noreply@github.com>2020-10-29 22:49:29 -0700
commit23a0551c2612b8a1a05201481b5ea7eea1189dbc (patch)
treeef43d107b39baf99a14f9d81b9e178cc7e8e0f85
parent6560ac6466bfb335f0505a1e6cd9f8881972d878 (diff)
downloadseaweedfs-23a0551c2612b8a1a05201481b5ea7eea1189dbc.tar.xz
seaweedfs-23a0551c2612b8a1a05201481b5ea7eea1189dbc.zip
Update go.yml
-rw-r--r--.github/workflows/go.yml13
1 files changed, 13 insertions, 0 deletions
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