File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ release :
3+ types : [created]
4+
5+ jobs :
6+ release :
7+ name : release ${{ matrix.target }} (with non-required env)
8+ runs-on : ubuntu-latest
9+ strategy :
10+ fail-fast : false
11+ 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
21+ steps :
22+ - uses : actions/checkout@master
23+ - name : Compile and release
24+ uses : rust-build/rust-build.action@master
25+ env :
26+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27+ RUSTTARGET : ${{ matrix.target }}
28+ EXTRA_FILES : " README.md"
29+ SRC_DIR : " hello"
30+ ARCHIVE_TYPES : ${{ matrix.archive }}
31+ PRE_BUILD : " pre_build.sh"
32+ POST_BUILD : " test/post_build.sh"
33+ MINIFY : " yes"
34+ release_without_not_required :
35+ name : release ${{ matrix.target }}
36+ runs-on : ubuntu-latest
37+ strategy :
38+ fail-fast : true
39+ matrix :
40+ target : [x86_64-unknown-linux-musl]
41+ steps :
42+ - uses : actions/checkout@master
43+ - name : Compile and release
44+ uses : rust-build/rust-build.action@master
45+ env :
46+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47+ RUSTTARGET : ${{ matrix.target }}
You can’t perform that action at this time.
0 commit comments