Fixed CICD
All checks were successful
Test compiling project / test (push) Successful in 2m22s

This commit is contained in:
2025-02-15 16:57:44 +01:00
parent e8b8e95c13
commit f1f42f3014

View File

@@ -25,7 +25,7 @@ jobs:
run: ls -lah .pio/build/ESP32_INA233/ .pio/build/ESP32_INA226/
- name: Upload firmware binary for INA233
run: |
VERSION=$(sed -n 's/#define current_version Version{[[:space:]]*\([0-9]\+\),[[:space:]]*\([0-9]\+\),[[:space:]]*\([0-9]\+\)}/\1.\2.\3/p' src/global_data/defines.h)
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)
echo "Extracted version: $VERSION"
curl -X PUT \
@@ -35,7 +35,7 @@ jobs:
- name: Upload firmware binary for INA226
run: |
VERSION=$(sed -n 's/#define current_version Version{[[:space:]]*\([0-9]\+\),[[:space:]]*\([0-9]\+\),[[:space:]]*\([0-9]\+\)}/\1.\2.\3/p' src/global_data/defines.h)
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)
echo "Extracted version: $VERSION"
curl -X PUT \