File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -148,9 +148,6 @@ jobs:
148148
149149 source .venv/bin/activate
150150 west zephyr-export
151-
152- cd zephyr
153- west sdk install
154151
155152 - name : Install Zephyr
156153 if : steps.cache-zephyr.outputs.cache-hit != 'true'
@@ -169,8 +166,19 @@ jobs:
169166
170167 west packages pip --install
171168
172- cd zephyr
173- west sdk install
169+ - name : Cache Zephyr SDK
170+ id : cache-zephyr-sdk
171+ uses : actions/cache@v5
172+ with :
173+ path : zephyr-sdk
174+ key : ${{ runner.os }}-zephyr-sdk
175+
176+ - name : Install Zephyr SDK
177+ if : steps.cache-zephyr-sdk.outputs.cache-hit != 'true'
178+ working-directory : ${{ github.workspace }}
179+ run : |
180+ source zephyrproject/.venv/bin/activate
181+ west sdk install --install-dir zephyr-sdk
174182
175183 - name : Checkout repository
176184 uses : actions/checkout@v6
You can’t perform that action at this time.
0 commit comments