From 14213d507fb056389c3be0bd35f8b57b359a52ea Mon Sep 17 00:00:00 2001 From: Sebastian Staacks Date: Sun, 8 Sep 2024 02:11:01 +0200 Subject: [PATCH] Auto-build default and base vide mode variant (#30) --- .github/workflows/main.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) 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