You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
730 B

5 years ago
4 years ago
  1. name: Go
  2. on:
  3. push:
  4. branches: [ master ]
  5. pull_request:
  6. branches: [ master ]
  7. jobs:
  8. build:
  9. name: Build
  10. runs-on: ubuntu-latest
  11. steps:
  12. - name: Check out code into the Go module directory
  13. uses: actions/checkout@v2
  14. - name: Go Release Binaries
  15. uses: wangyoucao577/go-release-action@v1.8
  16. with:
  17. github_token: ${{ secrets.GITHUB_TOKEN }}
  18. goos: linux # default is
  19. goarch: amd64 # default is
  20. build_flags: -tags 5BytesOffset # optional, default is
  21. ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}
  22. # Where to run `go build .`
  23. project_path: weed
  24. binary_name: weed-large-disk