We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac6eb63 commit aa447bfCopy full SHA for aa447bf
.github/workflows/release.yml
@@ -0,0 +1,30 @@
1
+# .github/workflows/release.yml
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.xz
19
+ - target: x86_64-apple-darwin
20
21
+ steps:
22
+ - uses: actions/checkout@master
23
+ - name: Compile and release
24
+ uses: rust-build/[email protected]
25
+ env:
26
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27
+ with:
28
+ RUSTTARGET: ${{ matrix.target }}
29
+ EXTRA_FILES: "README.md LICENSE"
30
+ ARCHIVE_TYPES: ${{ matrix.archive }}
0 commit comments