Skip to content

Commit

Permalink
ci: add UF2
Browse files Browse the repository at this point in the history
  • Loading branch information
georgik committed Jul 18, 2024
1 parent 4b9974b commit a87cb05
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ jobs:
name: graphical-bootloader-${{ matrix.board.name }}.bin
path: build/graphical-bootloader-${{ matrix.board.name }}.bin

- name: Merge binaries into a uf2 image
run: |
. /opt/esp/idf/export.sh
cmake -Daction=merge_binaries_uf2 -P Bootloader.cmake
mv build/uf2.bin build/graphical-bootloader-${{ matrix.board.name }}.uf2
- name: Upload UF2 artifact
uses: actions/upload-artifact@v4
with:
name: graphical-bootloader-${{ matrix.board.name }}.uf2
path: build/graphical-bootloader-${{ matrix.board.name }}.uf2

upload-release-assets:
needs: build-and-upload
runs-on: ubuntu-22.04
Expand Down

0 comments on commit a87cb05

Please sign in to comment.