Skip to content

Commit 6422e9c

Browse files
committed
step
1 parent 71d04c5 commit 6422e9c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/package_core.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,12 @@ jobs:
9090
- name: Build loader
9191
shell: bash
9292
run: |
93-
if ! ./extra/build.sh ${{ matrix.board }} 2>(tee error.log) ; then
93+
if ! ./extra/build.sh ${{ matrix.board }} ; then
9494
echo "\`\`\`" > $GITHUB_STEP_SUMMARY
95-
cat error.log >> $GITHUB_STEP_SUMMARY
95+
cat build/${{ matrix.variant }}/error.log >> $GITHUB_STEP_SUMMARY
9696
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
9797
exit 1
9898
fi
99-
cat error.log
10099
101100
- name: Package board binaries
102101
if: ${{ !cancelled() }}

extra/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fi
6868
BUILD_DIR=build/${variant}
6969
VARIANT_DIR=variants/${variant}
7070
rm -rf ${BUILD_DIR}
71-
west build -d ${BUILD_DIR} -b ${target} loader -t llext-edk ${args}
71+
west build -d ${BUILD_DIR} -b ${target} loader -t llext-edk ${args} 2>(tee ${BUILD_DIR}/error.log >&2)
7272

7373
# Extract the generated EDK tarball and copy it to the variant directory
7474
mkdir -p ${VARIANT_DIR} firmwares

0 commit comments

Comments
 (0)