Add CLI documentation and update MCP tools reference #10
Workflow file for this run
This file contains hidden or 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: 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" |