We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c94a65a commit 5cf28daCopy full SHA for 5cf28da
1 file changed
.github/workflows/release.yml
@@ -0,0 +1,29 @@
1
+name: Release
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
9
+ name: release ${{ matrix.target }}
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ include:
15
+ - target: x86_64-pc-windows-gnu
16
+ archive: zip
17
+ - target: x86_64-unknown-linux-musl
18
+ archive: tar.gz tar.xz
19
+ - target: x86_64-apple-darwin
20
21
+ steps:
22
+ - uses: actions/checkout@master
23
+ - name: Compile and release
24
+ uses: rust-build/rust-build.action@latest
25
+ env:
26
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27
+ RUSTTARGET: ${{ matrix.target }}
28
+ ARCHIVE_TYPES: ${{ matrix.archive }}
29
0 commit comments