Skip to content

Merge pull request #80 from EuclidProtocol/audit-prep #99

Merge pull request #80 from EuclidProtocol/audit-prep

Merge pull request #80 from EuclidProtocol/audit-prep #99

Workflow file for this run

name: build artifacts wasm
on:
push:
branches:
- main
- development
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install cargo-run-script
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-run-script
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: wasm32-unknown-unknown
override: true
- uses: sigoden/install-binary@v1
with:
repo: WebAssembly/binaryen
name: wasm-opt
- name: Build WASM files
run: bash ./build.sh all
env:
SOME_ENV_VAR: value
- uses: actions/upload-artifact@v4
with:
name: my-artifact
path: ./artifacts/