chore(release): bump versions for v1.9.0 (#1996) #170
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 Crates | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - '**/Cargo.toml' | |
| - '.github/workflows/release-crates.yml' | |
| - '.github/actions/publish-crate/**' | |
| workflow_dispatch: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| # Tier 1: Crates with no internal dependencies | |
| tier1: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - crate: openai-protocol | |
| path: crates/protocols | |
| - crate: reasoning-parser | |
| path: crates/reasoning_parser | |
| - crate: kv-index | |
| path: crates/kv_index | |
| - crate: data-connector | |
| path: crates/data_connector | |
| - crate: wfaas | |
| path: crates/workflow | |
| - crate: smg-auth | |
| path: crates/auth | |
| - crate: smg-mcp | |
| path: crates/mcp | |
| - crate: smg-mm-rdma | |
| path: crates/mm_rdma | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: ./.github/actions/publish-crate | |
| with: | |
| crate: ${{ matrix.crate }} | |
| path: ${{ matrix.path }} | |
| token: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
| # Tier 2: Crates depending on tier 1 | |
| tier2: | |
| needs: tier1 | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - crate: tool-parser | |
| path: crates/tool_parser | |
| - crate: smg-grpc-client | |
| path: crates/grpc_client | |
| - crate: smg-client | |
| path: clients/rust | |
| - crate: smg-mesh | |
| path: crates/mesh | |
| - crate: smg-wasm | |
| path: crates/wasm | |
| - crate: llm-tokenizer | |
| path: crates/tokenizer | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: ./.github/actions/publish-crate | |
| with: | |
| crate: ${{ matrix.crate }} | |
| path: ${{ matrix.path }} | |
| token: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
| # Tier 3: Crates depending on tier 2 | |
| tier3: | |
| needs: tier2 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: ./.github/actions/publish-crate | |
| with: | |
| crate: llm-multimodal | |
| path: crates/multimodal | |
| token: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
| # Tier 4: Main crate depending on all others | |
| tier4: | |
| needs: tier3 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: ./.github/actions/publish-crate | |
| with: | |
| crate: smg | |
| path: model_gateway | |
| token: ${{ secrets.CARGO_REGISTRY_TOKEN }} |