Skip to content

new contracts

new contracts #6

name: Release
on:
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
build-artifacts-and-publish-release:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Set up Rust caches
uses: actions/cache@v4
id: rust-cache
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
- name: Build optimized wasm files
run: bash scripts/wasm-out.sh
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: latest
prerelease: true
title: CW Nibiru
files: |
artifacts/*