Skip to content

Add CLI documentation and update MCP tools reference #10

Add CLI documentation and update MCP tools reference

Add CLI documentation and update MCP tools reference #10

Workflow file for this run

name: Publish Crate
on:
push:
tags: ["v*"]
workflow_dispatch:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
shared-key: publish
save-if: false
- name: Verify lib builds
run: cargo build --lib
- name: Run lib tests
run: cargo test --lib
- name: Dry-run publish
run: cargo publish --dry-run
publish:
needs: validate
runs-on: ubuntu-latest
environment: ci
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Publish to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo publish || echo "::warning::Crate version already published, skipping"