From baced7b94f5d8e5133eb406f549c20a4f7a3136a Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 4 Nov 2020 10:12:30 -0800 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cc8a7bd3f..1e00d815a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,3 +29,15 @@ jobs: # Where to run `go build .` project_path: weed binary_name: weed-large-disk + - name: Go Release Binaries + uses: wangyoucao577/go-release-action@feature/customize-target-release + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux # default is + goarch: amd64 # default is + release_tag: dev + overwrite: true + ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}} + # Where to run `go build .` + project_path: weed + binary_name: weed