Skip to content

Commit da7f295

Browse files
tbitcsoz-agent
andcommitted
fix(ci): run arbiter module placement unconditionally (fixes cache-hit path)
The step was gated on cache-miss; old caches restored without modules/lib/arbiter/ caused Kconfig to fail even with a cache hit. Now runs always, guarded by 'if [ ! -d ]' for idempotency. Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent af2c146 commit da7f295

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ jobs:
106106
# west treats the manifest project as already-present at app/ and will
107107
# NOT clone it to modules/lib/arbiter/ (its declared path). Copy it
108108
# there so Zephyr CMake can discover the module's Kconfig + cmake files.
109-
# This runs only on cache miss so the copy ends up in the restored cache.
109+
# Runs unconditionally (idempotent) so a restored cache that predates
110+
# this step still gets the directory populated correctly.
110111
- name: Place arbiter at canonical module path
111-
if: steps.cache-west.outputs.cache-hit != 'true'
112112
run: |
113113
mkdir -p modules/lib
114114
if [ ! -d modules/lib/arbiter ]; then

0 commit comments

Comments
 (0)