Skip to content

Commit b7ac336

Browse files
committed
Add release script
1 parent c03a8ff commit b7ac336

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.github/workflows/python.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# maturin generate-ci github
55
#
6-
name: python
6+
name: Python
77

88
on:
99
push:

.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)