use specific build directory for the target

This commit is contained in:
Juraj Michalek 2024-09-25 09:08:11 +02:00
commit 75cff42a84

View file

@ -49,7 +49,7 @@ jobs:
target: ${{ env.TARGET }} target: ${{ env.TARGET }}
path: '.' path: '.'
command: | command: |
idf.py build && idf.py -B build.${{ matrix.board }} build &&
cd build.${{ matrix.board }} && cd build.${{ matrix.board }} &&
esptool.py --chip ${{ env.TARGET }} merge_bin -o ${{ github.event.inputs.prefix }}-${{ matrix.board }}.bin "@flash_args" esptool.py --chip ${{ env.TARGET }} merge_bin -o ${{ github.event.inputs.prefix }}-${{ matrix.board }}.bin "@flash_args"