File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,25 @@ jobs:
283283 run : chmod +x micropython/mpy-cross/build/mpy-cross
284284 - name : Build
285285 run : make $MAKEOPTS -C bricks/ev3rt
286+ - name : Short hash
287+ id : vars
288+ run : echo "short_sha=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_OUTPUT
289+ - name : Upload EV3 uImage
290+ if : ${{ success() }}
291+ uses : actions/upload-artifact@v4
292+ with :
293+ name : ev3rt-uImage-build-${{ github.run_number }}-git${{ steps.vars.outputs.short_sha }}
294+ path : bricks/ev3rt/build/uImage
295+ - name : Extract firmware.zip for upload
296+ if : ${{ success() }}
297+ working-directory : bricks/ev3rt/build
298+ run : unzip firmware.zip -d upload
299+ - name : Upload EV3 bootable firmware
300+ if : ${{ success() }}
301+ uses : actions/upload-artifact@v4
302+ with :
303+ name : ev3rt-firmware-build-${{ github.run_number }}-git${{ steps.vars.outputs.short_sha }}
304+ path : bricks/ev3rt/build/upload/*
286305
287306 debug :
288307 name : debug firmware
You can’t perform that action at this time.
0 commit comments