Skip to content

Commit

Permalink
Publish binaries to releases (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
mniak committed Oct 21, 2021
1 parent def5073 commit 0ae6988
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
release:
types: [created]

jobs:
release:
strategy:
matrix:
os: [ darwin, linux, windows ]
arch: [ amd64, 386, arm64, arm, ]
name: release ${{ matrix.os }}/${{ matrix.arch }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/[email protected]
if: matrix.os != 'darwin' || matrix.arch != '386' && matrix.arch != 'arm'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.os }}
goarch: ${{ matrix.arch }}

0 comments on commit 0ae6988

Please sign in to comment.