Skip to content

Commit a31600c

Browse files
authored
Add release workflow (#5)
1 parent 7f233a9 commit a31600c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Upload release binaries
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
release:
9+
name: release ${{ matrix.target }}
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl]
15+
steps:
16+
- uses: actions/checkout@master
17+
- name: Compile and release
18+
uses: rust-build/rust-build.action@latest
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
RUSTTARGET: ${{ matrix.target }}

0 commit comments

Comments
 (0)