diff --git a/.github/workflows/build-platformio.yml b/.github/workflows/build-platformio.yml index 894eaa03..4e3b2bae 100644 --- a/.github/workflows/build-platformio.yml +++ b/.github/workflows/build-platformio.yml @@ -3,6 +3,9 @@ name: Build Firmware on: release: types: [published] + pull_request: + push: + branches: [main, master] workflow_dispatch: jobs: @@ -69,7 +72,6 @@ jobs: mv .pio/build/${{ matrix.env }}/firmware.bin .pio/build/${{ matrix.env }}/tinygs-${{ matrix.env }}-${{ steps.tag.outputs.TAG }}-ota.bin mv .pio/build/${{ matrix.env }}/firmware-full.bin .pio/build/${{ matrix.env }}/tinygs-${{ matrix.env }}-${{ steps.tag.outputs.TAG }}-full.bin - name: Archive build artifacts - if: github.event_name == 'workflow_dispatch' uses: actions/upload-artifact@v7 with: name: firmware-${{ matrix.env }}