Skip to content

Commit bfa8dd3

Browse files
committed
tests: Fix wasm build github action
Added step to update submodules of git branch to prevent errors in github action job "build-wasm-files". Signed-off-by: Matthew Gee <mgee@iol.unh.edu>
1 parent f61fd56 commit bfa8dd3

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@ jobs:
172172
repository: project-ocre/ocre-sdk
173173
path: ocre-sdk
174174

175+
- name: Update Submodules
176+
working-directory: application
177+
run: |
178+
git submodule update --init --recursive
179+
175180
- name: Setup Zephyr project
176181
uses: zephyrproject-rtos/action-zephyr-setup@v1
177182
with:
@@ -211,8 +216,8 @@ jobs:
211216
if: always()
212217
uses: actions/upload-artifact@v4
213218
with:
214-
name: "{{ matrix.sample.name }}.wasm"
215-
path: "/tmp/built-wasm/{{ matrix.sample.name }}.wasm"
219+
name: "${{ matrix.sample.name }}.wasm"
220+
path: "$GITHUB_WORKSPACE/ocre-sdk/${{ matrix.sample.path }}/build/*.wasm"
216221

217222
build-and-run-linux-sample:
218223
needs: build-wasm-files

0 commit comments

Comments
 (0)