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
796 B

  1. # This is a basic workflow to help you get started with Actions
  2. name: CI
  3. on:
  4. push:
  5. branches: [ master ]
  6. pull_request:
  7. branches: [ master ]
  8. jobs:
  9. build:
  10. runs-on: ubuntu-latest
  11. steps:
  12. - uses: actions/checkout@v2
  13. - name: Go Release Binaries
  14. uses: wangyoucao577/go-release-action@v1.8
  15. with:
  16. github_token: ${{ secrets.GITHUB_TOKEN }}
  17. goos: linux # default is
  18. goarch: amd64 # default is
  19. goversion: 1.14 # optional, 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