Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Refresh workspace lockfile before building macOS voice releases (#44025)

Benjamin Carlsson7aba21885159
diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml
index 7bc27ec0cb..46b26241d7 100644
--- a/.github/workflows/rust-release.yml
+++ b/.github/workflows/rust-release.yml
@@ -514,6 +514,9 @@ jobs:
PREFIX: ${{ matrix.prefix }}
run: |
set -euo pipefail
+ # Release tags bump Cargo.toml without rewriting the workspace lockfile.
+ # Refresh workspace versions before Bazel reads the Cargo dependency graph.
+ (cd codex-rs && cargo update --workspace)
bazel build //codex-rs/voice-host:codex-voice-host //third_party/voice:native_runtime
runtime="bazel-bin/third_party/voice/native_runtime_${PREFIX}"
PYTHONPATH=third_party/voice python3 - "$runtime" "$TARGET" <<'PY'