Skip to content

Commit

Permalink
chore: Add release build creator (#12)
Browse files Browse the repository at this point in the history
This adds a creator to automatically produce a release build
  • Loading branch information
lwaddicor authored Apr 26, 2021
1 parent 77c7bef commit 23664e9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on:
release:
types: [ created ]

jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [ linux, windows, darwin ]
goarch: [ "386", amd64 ]
exclude:
- goarch: "386"
goos: darwin
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
project_path: "./cmd/cli"
binary_name: "go-svrquery"

0 comments on commit 23664e9

Please sign in to comment.