Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

fix: use matrix.target instead of matrix.os for actions/cache build action (#15933)

Michael Bolind838c23867f6
diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml
index 1c12db52b1..79d963a537 100644
--- a/.github/workflows/bazel.yml
+++ b/.github/workflows/bazel.yml
@@ -86,9 +86,9 @@ jobs:
with:
path: |
~/.cache/bazel-repo-cache
- key: bazel-cache-${{ matrix.os }}-${{ hashFiles('MODULE.bazel', 'codex-rs/Cargo.lock', 'codex-rs/Cargo.toml') }}
+ key: bazel-cache-${{ matrix.target }}-${{ hashFiles('MODULE.bazel', 'codex-rs/Cargo.lock', 'codex-rs/Cargo.toml') }}
restore-keys: |
- bazel-cache-${{ matrix.os }}
+ bazel-cache-${{ matrix.target }}
- name: Configure Bazel startup args (Windows)
if: runner.os == 'Windows'
@@ -230,4 +230,4 @@ jobs:
with:
path: |
~/.cache/bazel-repo-cache
- key: bazel-cache-${{ matrix.os }}-${{ hashFiles('MODULE.bazel', 'codex-rs/Cargo.lock', 'codex-rs/Cargo.toml') }}
+ key: bazel-cache-${{ matrix.target }}-${{ hashFiles('MODULE.bazel', 'codex-rs/Cargo.lock', 'codex-rs/Cargo.toml') }}