1234567891011121314151617181920212223242526272829 |
- name: Release Go Binary
- on:
- release:
- types: [published]
- workflow_dispatch:
- jobs:
- releases-matrix:
- name: Release Go Binary
- runs-on: ubuntu-latest
- strategy:
- matrix:
- goos: [linux, windows, darwin]
- goarch: [amd64, arm64]
- exclude:
- - goarch: arm64
- goos: windows
- steps:
- - uses: actions/checkout@v4
- with:
- fetch-depth: 0
- - uses: wangyoucao577/go-release-action@v1.53
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- goos: ${{ matrix.goos }}
- goarch: ${{ matrix.goarch }}
- build_command: "make build"
- extra_files: LICENSE README.md gof.example.yaml
|