Skip to content

Commit 81213f0

Browse files
committed
Try release workflow
1 parent 5488797 commit 81213f0

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+
2+
on:
3+
release:
4+
types: [created]
5+
6+
jobs:
7+
release:
8+
name: release ${{ matrix.target }}
9+
runs-on: ubuntu-latest
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
include:
14+
- target: x86_64-pc-windows-gnu
15+
archive: zip
16+
- target: x86_64-unknown-linux-musl
17+
archive: tar.gz tar.xz tar.zst
18+
- target: x86_64-apple-darwin
19+
archive: zip
20+
- target: arm64-apple-darwin
21+
archive: zip
22+
steps:
23+
- uses: actions/checkout@master
24+
- name: Compile and release
25+
uses: rust-build/[email protected]
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
with:
29+
RUSTTARGET: ${{ matrix.target }}
30+
ARCHIVE_TYPES: ${{ matrix.archive }}

0 commit comments

Comments
 (0)