File tree Expand file tree Collapse file tree 2 files changed +48
-1
lines changed Expand file tree Collapse file tree 2 files changed +48
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : release
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ jobs :
7
+ build :
8
+ name : release ${{ matrix.target }}
9
+ runs-on : ubuntu-latest
10
+ strategy :
11
+ fail-fast : false
12
+ matrix :
13
+ include :
14
+ - target : x86_64-pc-windows-gnu
15
+ archive : zip
16
+ - target : x86_64-unknown-linux-musl
17
+ archive : tar.gz
18
+ - target : x86_64-apple-darwin
19
+ archive : zip
20
+
21
+ steps :
22
+ - uses : actions/checkout@master
23
+ - uses : rust-build/rust-build.action@v1.4.4
24
+ id : compile
25
+ env :
26
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27
+ with :
28
+ RUSTTARGET : ${{ matrix.target }}
29
+ ARCHIVE_TYPES : ${{ matrix.archive }}
30
+ UPLOAD_MODE : none
31
+ MINIFY : true
32
+ - uses : actions/upload-artifact@v3
33
+ with :
34
+ name : ${{ matrix.target }
35
+ path : ${{ steps.compile.outputs.BUILT_ARCHIVE }}
36
+
37
+ release :
38
+ needs : build
39
+ runs-on : ubuntu-latest
40
+ steps :
41
+ - uses : actions/download-artifact@v2
42
+ - name : List files as a test
43
+ run : ls -R
Original file line number Diff line number Diff line change 12
12
< body >
13
13
< main >
14
14
< section >
15
- < h1 > Mdbook Embedify</ h1 >
15
+ < h1 >
16
+ Mdbook Embedify
17
+ < img src ="https://img.shields.io/crates/v/mdbook-embedify " alt ="version " />
18
+ < img src ="https://img.shields.io/crates/l/mdbook-embedify " alt ="license " />
19
+ </ h1 >
16
20
17
21
< p >
18
22
This is a < a href ="https://rust-lang.github.io/mdBook " target ="_blank "> mdbook</ a > preprocessor plugin that
You can’t perform that action at this time.
0 commit comments