Skip to content

Commit

Permalink
Automatically build normal and base video mode variant of firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
Staacks authored Sep 7, 2024
1 parent 3c07810 commit e0af727
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,21 @@ jobs:
cmake .. -G Ninja -DPICO_SDK_PATH=../../pico-sdk
ninja
- name: 'Upload artifacts'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: firmware
path: |
./firmware/build/gb_interceptor.*
retention-days: 7
retention-days: 30
- name: Build base video mode firmware
run: |
rm -rf * .*
cmake .. -G Ninja -DBASE_VIDEO_MODE -DPICO_SDK_PATH=../../pico-sdk
ninja
- name: 'Upload base video mode artifacts'
uses: actions/upload-artifact@v4
with:
name: firmware_base_video_mode
path: |
./firmware/build/gb_interceptor.*
retention-days: 30

0 comments on commit e0af727

Please sign in to comment.