Skip to content

Commit

Permalink
bricks/ev3rt: Publish artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensvalk committed Nov 1, 2024
1 parent 01954da commit 6a3db78
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,25 @@ jobs:
run: chmod +x micropython/mpy-cross/build/mpy-cross
- name: Build
run: make $MAKEOPTS -C bricks/ev3rt
- name: Short hash
id: vars
run: echo "short_sha=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_OUTPUT
- name: Upload EV3 uImage
if: ${{ success() }}
uses: actions/upload-artifact@v4
with:
name: ev3rt-uImage-build-${{ github.run_number }}-git${{ steps.vars.outputs.short_sha }}
path: bricks/ev3rt/build/uImage
- name: Extract firmware.zip for upload
if: ${{ success() }}
working-directory: bricks/ev3rt/build
run: unzip firmware.zip -d upload
- name: Upload EV3 bootable firmware
if: ${{ success() }}
uses: actions/upload-artifact@v4
with:
name: ev3rt-firmware-build-${{ github.run_number }}-git${{ steps.vars.outputs.short_sha }}
path: bricks/ev3rt/build/upload/*

debug:
name: debug firmware
Expand Down

0 comments on commit 6a3db78

Please sign in to comment.