Create release-darwin.yml

This commit is contained in:
Winni Neessen 2021-03-20 19:51:52 +01:00 committed by GitHub
parent 746b6d0bd6
commit fdd465fbfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

25
.github/workflows/release-darwin.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: Go
on:
release:
types: [ created ]
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [darwin]
goarch: ["386", amd64, arm]
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