Skip to content

Commit 05ffd0c

Browse files
committed
add release handling based on github workflows, fixes #47
1 parent dd496b0 commit 05ffd0c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
on:
2+
release:
3+
types: [created]
4+
5+
jobs:
6+
releases-matrix:
7+
name: Release Go Binary
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
goos: [linux]
12+
goarch: ["386", amd64, arm64]
13+
steps:
14+
- uses: actions/checkout@v3
15+
- uses: wangyoucao577/go-release-action@v1
16+
with:
17+
github_token: ${{ secrets.GITHUB_TOKEN }}
18+
goos: ${{ matrix.goos }}
19+
goarch: ${{ matrix.goarch }}
20+
project_path: "./cmd/whawty-auth"
21+
binary_name: "whawty-auth"
22+
extra_files: AUTHORS LICENSE LICENSE.zxcvbn README.md
23+
md5sum: false
24+
sha256sum: true

0 commit comments

Comments
 (0)