Skip to content

Commit 63783a5

Browse files
authored
Create release.yml
1 parent 488df9f commit 63783a5

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build Release
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
releases-matrix:
9+
name: Release Go Binary
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
goos: [linux, windows, darwin]
14+
goarch: [amd64, arm64]
15+
exclude:
16+
- goarch: arm64
17+
goos: windows
18+
steps:
19+
- uses: actions/checkout@v3
20+
- uses: wangyoucao577/[email protected]
21+
with:
22+
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
goos: ${{ matrix.goos }}
24+
goarch: ${{ matrix.goarch }}
25+
asset_name: codegame-${{matrix.goos}}-${{matrix.goarch}}
26+
extra_files: LICENSE README.md

0 commit comments

Comments
 (0)