Skip to content

Commit b8411c0

Browse files
ci: Add release workflow.
1 parent 552e26c commit b8411c0

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: release
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
8+
jobs:
9+
release-image:
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
goos: [linux, darwin]
15+
goarch: [amd64, arm64]
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: wangyoucao577/go-release-action@v1.30
20+
with:
21+
github_token: ${{ secrets.GITHUB_TOKEN }}
22+
goos: ${{ matrix.goos }}
23+
goarch: ${{ matrix.goarch }}
24+
sha256sum: true
25+
project_path: cmd
26+
binary_name: scip
27+
asset_name: scip-${{ matrix.goos }}-${{ matrix.goarch }}
28+
extra_files: LICENSE

0 commit comments

Comments
 (0)