diff --git a/.gitea/workflows/on_push.yaml b/.gitea/workflows/on_push.yaml index c3bbbfe..e57c85c 100644 --- a/.gitea/workflows/on_push.yaml +++ b/.gitea/workflows/on_push.yaml @@ -11,14 +11,14 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v2 + - name: Run PlatformIO build for SPIFFS (same in both platforms, so only one build is necessary) + run: pio run --target buildfs -e ESP32_INA233 - name: Run PlatformIO Tests run: pio test -e native - name: Run PlatformIO build for INA233 run: pio run -e ESP32_INA233 - name: Run PlatformIO build for INA226 run: pio run -e ESP32_INA226 - - name: Run PlatformIO build for SPIFFS (same in both platforms, so only one build is necessary) - run: pwd && pio run --target buildfs -e ESP32_INA233 - name: Upload firmware binary for INA233 run: | VERSION=$(sed -n 's/#define current_software_version Version{[[:space:]]*\([0-9]\+\),[[:space:]]*\([0-9]\+\),[[:space:]]*\([0-9]\+\)}/\1.\2.\3/p' src/global_data/defines.h)