aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-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