File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed File renamed without changes.
Original file line number Diff line number Diff line change
1
+ name : Create release
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - name : Checkout sources
16
+ uses : actions/checkout@master
17
+
18
+ - name : Add wasm toolchain
19
+ uses : actions-rs/toolchain@v1
20
+ with :
21
+ toolchain : nightly-2020-02-17
22
+ target : wasm32-unknown-unknown
23
+ override : true
24
+
25
+ - name : Initialize environment and build
26
+ run : |
27
+ rustup update stable
28
+ rustup toolchain install nightly-2020-02-17
29
+ rustup default nightly-2020-02-17
30
+ rustup target add wasm32-unknown-unknown --toolchain nightly-2020-02-17
31
+ cargo build --release
32
+
33
+ - name : Upload artifact
34
+ uses : actions/upload-artifact@v1
35
+ with :
36
+ name : ubuntu-18.04-datahighway
37
+ path : target/release/datahighway
You can’t perform that action at this time.
0 commit comments