2021-03-20 19:53:52 +01:00
|
|
|
name: Go
|
|
|
|
|
|
|
|
on:
|
|
|
|
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:34:40 +02:00
|
|
|
build_command: 'go build -v -ldflags="-s -w" github.com/wneessen/apg-go/cmd/apg'
|