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

26 lines
638 B
YAML
Raw Normal View History

2021-03-20 19:20:50 +01:00
name: Go
on:
release:
types: [ created ]
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows, darwin, freebsd, openbsd, netbsd]
2021-03-20 19:44:41 +01:00
goarch: ["386", amd64, arm, arm64, ppc64le, s390x]
2021-03-20 19:20:50 +01:00
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.15
with:
2021-03-20 19:28:17 +01:00
github_token: ${{ secrets.GITHUB_TOKEN }}
2021-03-20 19:20:50 +01:00
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
2021-03-20 19:38:05 +01:00
binary_name: "apg"
2021-03-20 19:33:45 +01:00
extra_files: LICENSE README.md
2021-03-20 19:38:05 +01:00
sha256sum: true
md5sum: false