Skip to content

Commit bd013d0

Browse files
committed
Add GitHub Actions workflow for releasing Linux amd64 binaries
1 parent 0717ef1 commit bd013d0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/release.yml

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

0 commit comments

Comments
 (0)