chore: emit staker events post dr removal #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 wasm-opt | |
- name: π Conventional Changelog | |
id: changelog | |
uses: TriPSs/conventional-changelog-action@v6 | |
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 | |
token: ${{ secrets.GITHUB_TOKEN }} |