Skip to content

Release 0.4.0

Release 0.4.0 #20

Workflow file for this run

name: Artifacts
on:
push:
branches:
- master
- main
tags:
- "v*.*.*"
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/
- name: Add artifacts to release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: artifacts/*
token: ${{ secrets.GITHUB_TOKEN }}