File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 9090 - name : Build loader
9191 shell : bash
9292 run : |
93- if ! ./extra/build.sh ${{ matrix.board }} 2>(tee error.log) ; then
93+ if ! bash -c ' ./extra/build.sh ${{ matrix.board }} 2>(tee error.log)' ; then
9494 echo "\`\`\`" > $GITHUB_STEP_SUMMARY
9595 cat error.log >> $GITHUB_STEP_SUMMARY
9696 echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
@@ -100,7 +100,11 @@ jobs:
100100 - name : Package board binaries
101101 if : ${{ !cancelled() }}
102102 run : |
103- tar chf - build/${{ matrix.variant }} firmwares/*${{ matrix.variant }}* variants/${{ matrix.variant }}/ | zstd > ${OUTPUT_ARTIFACT}.tar.zstd
103+ tar chf - \
104+ firmwares/*${{ matrix.variant }}* \
105+ variants/${{ matrix.variant }}/ \
106+ ${{ (job.status == 'failure') && format('build/{0}/', matrix.variant }} \
107+ | zstd > ${OUTPUT_ARTIFACT}.tar.zstd
104108
105109 - name : Archive board binaries
106110 if : ${{ !cancelled() }}
You can’t perform that action at this time.
0 commit comments