Skip to content

Commit 362b151

Browse files
authored
Merge pull request #102 from DataHighway-DHX/develop
chore: creating github release
2 parents e3f7dfd + 87ba17d commit 362b151

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed
File renamed without changes.

.github/workflows/release.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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

0 commit comments

Comments
 (0)