Skip to content

Switchyard lets LLM applications route traffic across models and providers while preserving native OpenAI and Anthropic API compatibility - enabling flexible model selection, benchmarking, and cost/performance optimization.

Rust

ci(release): publish switchyard-runner (#614)

Bryan Bednarskie6bced855529
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index ebb0e88cb..10998f2d3 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -477,6 +477,7 @@ jobs:
switchyard-translation \
switchyard-libsy \
switchyard-llm-client \
+ switchyard-runner \
switchyard-server; do
crate_version="$(jq -r --arg crate "${crate}" \
'.packages[] | select(.name == $crate) | .version' <<<"${metadata}")"
@@ -513,4 +514,5 @@ jobs:
publish_crate switchyard-translation
publish_crate switchyard-libsy
publish_crate switchyard-llm-client
+ publish_crate switchyard-runner
publish_crate switchyard-server
diff --git a/docs/internal/release_workflow.md b/docs/internal/release_workflow.md
index aebf12ee4..47962a597 100644
--- a/docs/internal/release_workflow.md
+++ b/docs/internal/release_workflow.md
@@ -90,13 +90,14 @@ ready.
The same tag publishes these crates to crates.io in dependency order:
1. `switchyard-protocol`
-2. `switchyard-libsy`
-3. `switchyard-translation`
+2. `switchyard-translation`
+3. `switchyard-libsy`
4. `switchyard-llm-client`
-5. `switchyard-server`
+5. `switchyard-runner`
+6. `switchyard-server`
Add a repository Actions secret named `CARGO_REGISTRY_TOKEN` containing a crates.io API token that
-can publish all five crates and create new crates. The job waits for each version to reach the
+can publish all six crates and create new crates. The job waits for each version to reach the
crates.io index before publishing its dependents. If publication stops partway through, use
GitHub's **Re-run failed jobs** action so successful crate jobs are not repeated.