Remove DEBUG_HEAP flag from esp32 pio config on release

This commit is contained in:
Ben Meadors
2023-01-12 09:33:55 -06:00
parent 42122f3d0f
commit c89ca50cc4
4 changed files with 10 additions and 0 deletions

View File

@@ -29,6 +29,13 @@ jobs:
tar -xf build.tar -C data/static
rm build.tar
- name: Remove debug flags for release
if: ${{ github.event_name == 'workflow_dispatch' }}
run: |
sed -i '/DDEBUG_HEAP/d' ./arch/esp32/esp32.ini
sed -i '/DDEBUG_HEAP/d' ./arch/esp32/esp32s2.ini
sed -i '/DDEBUG_HEAP/d' ./arch/esp32/esp32s3.ini
- name: Build ESP32
run: bin/build-esp32.sh ${{ inputs.board }}