Skip to content

Commit f7d2c8b

Browse files
authored
Merge pull request #4 from halprin/release-binaries
Create Binaries for Releases
2 parents eb9e91e + 0a7312a commit f7d2c8b

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Release
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
8+
jobs:
9+
releases-matrix:
10+
name: Release Go Binaries
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
goos: [darwin, linux, windows]
15+
goarch: [amd64]
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: wangyoucao577/go-release-action@v1.14
19+
with:
20+
github_token: ${{ secrets.GITHUB_TOKEN }}
21+
goos: ${{ matrix.goos }}
22+
goarch: ${{ matrix.goarch }}
23+
goversion: "https://golang.org/dl/go1.15.8.linux-amd64.tar.gz"
24+
project_path: "./cmd/"
25+
extra_files: README.md LICENSE
26+
md5sum: FALSE
27+
sha256sum: TRUE

0 commit comments

Comments
 (0)