Skip to content

Commit 7c6d5f7

Browse files
committed
Add release workflow
1 parent 246e0a4 commit 7c6d5f7

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/release.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Release CLI
2+
on:
3+
release:
4+
types: [created]
5+
6+
permissions:
7+
contents: write
8+
packages: write
9+
10+
jobs:
11+
release:
12+
name: Release Go Binary
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
goos: [linux, darwin]
17+
goarch: [amd64, arm64]
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: wangyoucao577/go-release-action@8dbc9990292b456ae78e728c7cf7b857b821faac
21+
with:
22+
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
goos: ${{ matrix.goos }}
24+
goarch: ${{ matrix.goarch }}
25+
binary_name: roc

0 commit comments

Comments
 (0)