Skip to content

feat(staker): add eligibility check #7

feat(staker): add eligibility check

feat(staker): add eligibility check #7

Workflow file for this run

name: Release
on:
push:
tags:
- "*"
permissions:
contents: write
pull-requests: write
env:
RUST_BACKTRACE: 1
jobs:
release:
name: Release Build
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 📥 Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
target: wasm32-unknown-unknown
- name: 📥 Install wasm-opt
run: cargo install wasm-opt --locked
- name: 🔨 Compile optimized WASM contracts
run: cargo xtask wasm-opt
- name: 🪵 Conventional Changelog
id: changelog
uses: TriPSs/conventional-changelog-action@v5
with:
github-token: ${{ secrets.github_token }}
output-file: "false"
skip-commit: true
skip-tag: true
skip-git-pull: true
git-push: false
- name: 🧾 Generate Checksum
uses: jmgilman/actions-generate-checksum@v1
with:
patterns: |
target/seda_contract.wasm
- name: 📦 Create GitHub Release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
generateReleaseNotes: true
body: ${{ steps.changelog.outputs.clean_changelog }}
artifacts: "checksum.txt,target/seda_contract.wasm"