Skip to content

ci: build and upload artifacts (#22) #8

ci: build and upload artifacts (#22)

ci: build and upload artifacts (#22) #8

Workflow file for this run

name: Artifacts
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
workflow_dispatch:
env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
jobs:
artifacts:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install cargo make
uses: davidB/rust-cargo-make@v1
- name: Compile contracts to wasm
run: cargo make rust-optimizer
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: artifacts
path: artifacts/