-
Notifications
You must be signed in to change notification settings - Fork 10
37 lines (30 loc) · 893 Bytes
/
release.yml
File metadata and controls
37 lines (30 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Create release
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@master
- name: Add wasm toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-03-10
target: wasm32-unknown-unknown
override: true
- name: Initialize environment and build
run: |
rustup update stable
rustup toolchain install nightly-2021-03-10
rustup default nightly-2021-03-10
rustup target add wasm32-unknown-unknown --toolchain nightly-2021-03-10
cargo build --release
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: ubuntu-18.04-datahighway
path: target/release/datahighway