Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: build subspace runtime and add as artifact to release #71

Merged
merged 3 commits into from
Jul 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build and publish

on:
push:
tags: 'v*'

jobs:
check:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4

- name: Setup Rust cache
uses: Swatinem/rust-cache@v2

- name: Install Rust toolchain
run: |
rustup set profile minimal
rustup show

- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: 3.20.1
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build node
run: cargo build --release --package node-subspace-runtime

- uses: actions/upload-artifact@v4
with:
name: node_subspace_runtime.compact.compressed.wasm
path: target/release/wbuild/node-subspace-runtime/node_subspace_runtime.compact.compressed.wasm
if-no-files-found: error
overwrite: true
Loading