apg-go/.github/workflows/release-bsd.yml

28 lines
697 B
YAML
Raw Normal View History

2021-03-20 19:53:52 +01:00
name: Go
on:
2021-09-23 19:47:59 +02:00
workflow_dispatch:
2021-03-20 19:53:52 +01:00
release:
types: [ created ]
jobs:
releases-matrix:
2021-03-20 19:58:11 +01:00
name: Release Go Binary (BSDs)
2021-03-20 19:53:52 +01:00
runs-on: ubuntu-latest
strategy:
matrix:
goos: [freebsd, netbsd, openbsd]
goarch: ["386", amd64, arm, arm64]
steps:
- uses: actions/checkout@v2
2021-09-23 19:31:24 +02:00
- uses: wangyoucao577/go-release-action@v1.20
2021-03-20 19:53:52 +01:00
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: "apg"
extra_files: LICENSE README.md
sha256sum: true
md5sum: false
2021-09-23 19:45:15 +02:00
build_command: 'go build github.com/wneessen/apg-go/cmd/apg'