Skip to content

chore: Release blockchain-cli version 1.0.5 #3

chore: Release blockchain-cli version 1.0.5

chore: Release blockchain-cli version 1.0.5 #3

Workflow file for this run

name: publish
permissions:
contents: write
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Rust
uses: ATiltedTree/setup-rust@v1
with:
rust-version: stable
- name: Install cargo-release
run: cargo install cargo-release
- name: Publish to crates.io
env:
CRATE_NAME: blockchain-cli
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: |
# Set config
git config --global user.email "slavpas@gmail.com"
git config --global user.name "Slavik Pastushenko"
# Release
cargo release --execute --no-confirm --push-remote origin/main patch