Skip to content

Commit c5c8d3e

Browse files
authored
Update release.yml
1 parent 7f64d58 commit c5c8d3e

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/release.yml

+5-12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: Release
2+
13
on:
24
release:
35
types: [created]
@@ -9,21 +11,12 @@ jobs:
911
strategy:
1012
fail-fast: false
1113
matrix:
12-
include:
13-
- target: x86_64-pc-windows-gnu
14-
archive: zip
15-
- target: x86_64-unknown-linux-musl
16-
archive: tar.gz
17-
- target: x86_64-apple-darwin
18-
archive: zip
19-
- target: wasm32-wasi
20-
archive: zip tar.gz
14+
target: [x86_64-unknown-linux-musl, x86_64-pc-windows-gnu, x86_64-apple-darwin]
2115
steps:
2216
- uses: actions/checkout@master
2317
- name: Compile and release
24-
uses: rust-build/rust-build.action@master
18+
uses: rust-build/rust-build.action@latest
2519
env:
2620
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2721
RUSTTARGET: ${{ matrix.target }}
28-
ARCHIVE_TYPES: ${{ matrix.archive }}
29-
EXTRA_FILES: "README.md"
22+
EXTRA_FILES: "README.md LICENCE"

0 commit comments

Comments
 (0)