Skip to content

Commit

Permalink
Auto-build default and base vide mode variant (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
Staacks authored Sep 8, 2024
1 parent e897460 commit 14213d5
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,22 @@ 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: |
cd ./firmware/build
rm -rf -- ..?* .[!.]* *
cmake .. -G Ninja -DBASE_VIDEO_MODE=1 -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 14213d5

Please sign in to comment.