2021-03-20 19:51:52 +01:00
|
|
|
name: Go
|
|
|
|
|
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types: [ created ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
releases-matrix:
|
2021-03-20 19:56:50 +01:00
|
|
|
name: Release Go Binary (Darwin)
|
2021-03-20 19:51:52 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
goos: [darwin]
|
2021-03-20 20:00:29 +01:00
|
|
|
goarch: ["386", amd64]
|
2021-03-20 19:51:52 +01:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: wangyoucao577/go-release-action@v1.15
|
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
goos: ${{ matrix.goos }}
|
|
|
|
goarch: ${{ matrix.goarch }}
|
|
|
|
binary_name: "apg"
|
|
|
|
extra_files: LICENSE README.md
|
|
|
|
sha256sum: true
|
|
|
|
md5sum: false
|