Skip to content

Commit 64f748d

Browse files
authored
ci: Add release ci to build and upload binary files (#78)
* ci: Add release ci to build and upload binary files * ci(release): Using musl instead of gnu to privde static linked build
1 parent 11769b0 commit 64f748d

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/release.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Release
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
release:
9+
strategy:
10+
matrix:
11+
include:
12+
- target: aarch64-unknown-linux-musl
13+
os: ubuntu-latest
14+
- target: x86_64-unknown-linux-musl
15+
os: ubuntu-latest
16+
- target: aarch64-apple-darwin
17+
os: macos-latest
18+
- target: x86_64-apple-darwin
19+
os: macos-latest
20+
- target: x86_64-pc-windows-msvc
21+
os: windows-latest
22+
runs-on: ${{ matrix.os }}
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: taiki-e/upload-rust-binary-action@v1
26+
with:
27+
bin: vtracer
28+
target: ${{ matrix.target }}
29+
# (required) GitHub token for uploading assets to GitHub Releases.
30+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)