Skip to content

Commit 5b753ba

Browse files
fix: Add missing app directory copy step to GitHub Actions
- Add 'Copy App to Workspace' step to both workflows - This matches our working Docker setup which mounts app to /zephyr_workspace/app - Fixes 'ERROR: source directory app does not exist' failure - Ensures the app directory is available in the workspace before building This should resolve the GitHub Actions build failure.
1 parent cbfd82a commit 5b753ba

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
west init -m https://github.com/nrfconnect/sdk-nrf.git --mr main
3131
west update --narrow -o=--depth=1
3232
33+
- name: 📁 Copy App to Workspace
34+
run: |
35+
cp -r app /zephyr_workspace/app
36+
3337
- name: 💾 Cache ~/.cache/ccache
3438
uses: actions/cache@v3
3539
with:

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ jobs:
4545
west init -m https://github.com/nrfconnect/sdk-nrf.git --mr main
4646
west update --narrow -o=--depth=1
4747
48+
- name: 📁 Copy App to Workspace
49+
run: |
50+
cp -r app /zephyr_workspace/app
51+
4852
- name: 💾 Cache ~/.cache/ccache
4953
uses: actions/cache@v3
5054
with:

0 commit comments

Comments
 (0)