Commit 1664517 1 parent 5ae482a commit 1664517 Copy full SHA for 1664517
File tree 1 file changed +53
-0
lines changed
1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ release :
3
+ types : [created]
4
+ push :
5
+
6
+
7
+ jobs :
8
+ release :
9
+ name : release ${{ matrix.target }} (with non-required env)
10
+ runs-on : ubuntu-latest
11
+ if : github.event_name == 'release'
12
+ strategy :
13
+ fail-fast : false
14
+ matrix :
15
+ include :
16
+ - target : x86_64-pc-windows-gnu
17
+ archive : zip
18
+ - target : x86_64-unknown-linux-musl
19
+ archive : tar.gz
20
+ - target : x86_64-apple-darwin
21
+ archive : zip
22
+ - target : wasm32-wasi
23
+ archive : zip tar.gz
24
+ steps :
25
+ - uses : actions/checkout@master
26
+ - name : Compile and release
27
+ uses : rust-build/rust-build.action@master
28
+ env :
29
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
+ with :
31
+ RUSTTARGET : ${{ matrix.target }}
32
+ EXTRA_FILES : " README.md"
33
+ SRC_DIR : " hello"
34
+ ARCHIVE_TYPES : ${{ matrix.archive }}
35
+ PRE_BUILD : " pre_build.sh"
36
+ POST_BUILD : " test/post_build.sh"
37
+ MINIFY : " yes"
38
+ release_without_not_required :
39
+ name : release ${{ matrix.target }}
40
+ runs-on : ubuntu-latest
41
+ strategy :
42
+ fail-fast : true
43
+ matrix :
44
+ target : [x86_64-unknown-linux-musl]
45
+ steps :
46
+ - uses : actions/checkout@master
47
+ - name : Compile and release
48
+ uses : rust-build/rust-build.action@master
49
+ with :
50
+ RUSTTARGET : ${{ matrix.target }}
51
+ UPLOAD_MODE : none
52
+ - name : Checkout output
53
+ run : ls -laR
You can’t perform that action at this time.
0 commit comments