mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-14 04:09:09 +00:00
* ci: split slow unit shards and build the Rust bridge once per run * ci: key the Rust bridge cache on source files only * ci: keep the unit setup ceiling unchanged with the shared Rust bridge * ci: fall back to the Cargo cache when the Rust bridge artifact is missing * ci: keep reruns on enterprise-routing for the prompt caching flake --------- Co-authored-by: yuneng <yuneng@berri.ai>
19 lines
592 B
YAML
19 lines
592 B
YAML
name: Set up the Rust bridge
|
|
description: Select the shared Rust bridge artifact or the Cargo cache
|
|
inputs:
|
|
artifact:
|
|
description: Rust bridge artifact name
|
|
required: false
|
|
default: ""
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Restore the Cargo build cache
|
|
if: inputs.artifact == ''
|
|
uses: ./.github/actions/cache-cargo-build
|
|
- name: Download the Rust bridge artifact
|
|
if: inputs.artifact != ''
|
|
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e
|
|
with:
|
|
name: ${{ inputs.artifact }}
|
|
path: rust-bridge-dist
|