diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e877872..cc66ccf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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