diff --git a/.github/workflows/ESP32.yml b/.github/workflows/ESP32.yml index 9c40e82..edb8073 100644 --- a/.github/workflows/ESP32.yml +++ b/.github/workflows/ESP32.yml @@ -140,11 +140,11 @@ jobs: MAKE_CMD="USER_C_MODULES=${{ github.workspace }}/src/micropython.cmake BOARD=$BOARD_NAME" fi if [ -n "${CAMERA_MODEL}" ]; then - make $MAKE_CMD CFLAGS_EXTRA="-DMP_CAMERA_MODEL_${CAMERA_MODEL}=1" all + make ${MAKE_CMD} CFLAGS_EXTRA="-DMP_CAMERA_MODEL_${CAMERA_MODEL}=1" all else - make $MAKE_CMD all + make ${MAKE_CMD} all fi - mv ~/micropython/ports/esp32/build-$BUILD_DIR/firmware.bin ~/${{ matrix.board }}.bin + mv ~/micropython/ports/esp32/build-${BUILD_DIR}/firmware.bin ~/${{ matrix.board }}.bin - name: Upload firmware artifact uses: actions/upload-artifact@v4