Skip to content

Commit

Permalink
Merge pull request #102 from DataHighway-DHX/develop
Browse files Browse the repository at this point in the history
chore: creating github release
  • Loading branch information
cgroeschel authored Aug 28, 2020
2 parents e3f7dfd + 87ba17d commit 362b151
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
File renamed without changes.
37 changes: 37 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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-2020-02-17
target: wasm32-unknown-unknown
override: true

- name: Initialize environment and build
run: |
rustup update stable
rustup toolchain install nightly-2020-02-17
rustup default nightly-2020-02-17
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-02-17
cargo build --release
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: ubuntu-18.04-datahighway
path: target/release/datahighway

0 comments on commit 362b151

Please sign in to comment.