Test with uploads
Some checks failed
Test compiling project / test (push) Failing after 2m29s

This commit is contained in:
2025-02-15 15:32:06 +01:00
parent 056929b4a8
commit b945aaeb50
2 changed files with 18 additions and 0 deletions

View File

@@ -23,3 +23,20 @@ jobs:
run: pio run -e ESP32_INA226
- name: look at the output
run: ls -lah .pio/build/ESP32_INA233/ .pio/build/ESP32_INA226/
- name: Upload firmware binary for INA233
run: |
VERSION=$(cat version)
curl -X PUT \
-H "Content-Type: application/octet-stream" \
--data-binary @.pio/build/ESP32_INA233/firmware.bin \
https://iot.tobiasmaier.me/firmware/waterlevel/INA233/${VERSION}
- name: Upload firmware binary for INA226
run: |
VERSION=$(cat version)
curl -X PUT \
-H "Content-Type: application/octet-stream" \
--data-binary @.pio/build/ESP32_INA226/firmware.bin \
https://iot.tobiasmaier.me/firmware/waterlevel/INA226/${VERSION}

1
version Normal file
View File

@@ -0,0 +1 @@
0.0.1