--- name: Build RPi Pico firmware image "on": push: jobs: Build-Firmware: runs-on: tonberry-build steps: - name: Check out repository code uses: actions/checkout@v4 - name: Initialize submodules run: cd software && ./update-submodules.sh - name: Prepare venv run: python -m venv build-venv && source build-venv/bin/activate && pip install freezefs - name: Build run: source build-venv/bin/activate && cd software && ./build.sh - name: Upload firmware uses: actions/upload-artifact@v3 with: name: firmware-RPi-Pico-W path: software/build/firmware-*.uf2 - name: Upload firmware w/ filesystem uses: actions/upload-artifact@v3 with: name: firmware-RPi-Pico-W-with-fs path: software/build/firmware-filesystem-*.uf2