Skip to content

Commit 86b2a30

Browse files
committed
ci: add binary release
1 parent 75ed0d4 commit 86b2a30

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# .github/workflows/release.yaml
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
permissions:
8+
contents: write
9+
packages: write
10+
11+
jobs:
12+
release-linux-amd64:
13+
name: release linux/amd64
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: wangyoucao577/go-release-action@v1
18+
with:
19+
github_token: ${{ secrets.GITHUB_TOKEN }}
20+
goos: linux
21+
goarch: amd64

0 commit comments

Comments
 (0)