Skip to content

Commit

Permalink
Attach compiled binaries upon creation of a release
Browse files Browse the repository at this point in the history
  • Loading branch information
halprin committed Feb 22, 2021
1 parent eb9e91e commit 1bcd032
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Release

on:
release:
types: [created]


jobs:
releases-matrix:
name: Release Go Binaries
runs-on: ubuntu-latest
strategy:
matrix:
goos: [darwin, linux, windows]
goarch: [amd64]
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: 1.15
project_path: "./cmd/"
extra_files: README.md LICENSE
md5sum: FALSE
sha256sum: TRUE

0 comments on commit 1bcd032

Please sign in to comment.