aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yml38
1 files changed, 25 insertions, 13 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 346837c7c..521418e2a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -3,8 +3,6 @@ name: Release
on:
push:
branches: [ master ]
- pull_request:
- branches: [ master ]
jobs:
@@ -16,14 +14,28 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
-# - 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
-# 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
+ - name: Go Release Binaries
+ uses: wangyoucao577/go-release-action@v1.10
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ goos: linux # default is
+ goarch: amd64 # default is
+ release_tag: dev
+ overwrite: true
+ 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
+ - name: Go Release Binaries
+ uses: wangyoucao577/go-release-action@v1.10
+ 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