diff --git a/.github/workflows/ESP32.yml b/.github/workflows/ESP32.yml index 775fa8c..acdfe98 100644 --- a/.github/workflows/ESP32.yml +++ b/.github/workflows/ESP32.yml @@ -127,11 +127,12 @@ jobs: cp ../../../src/sdkconfig_${{ env.BOARD_NAME }} sdkconfig.defaults fi + cd ~/micropython/ports/esp32 # Check if a variant is defined and adjust the make command if [ "${{ env.BOARD_VARIANT }}" != "none" ]; then - make USER_C_MODULES=${{ github.workspace }}/src/micropython.cmake BOARD=${{ env.BOARD_NAME }} VARIANT=${{ env.BOARD_VARIANT }} BUILD=~/build/${{ env.BOARD_NAME }} + make USER_C_MODULES=${{ github.workspace }}/src/micropython.cmake BOARD=${{ env.BOARD_NAME }} VARIANT=${{ env.BOARD_VARIANT }} BUILD=~/build/${{ env.BOARD_NAME }} all else - make USER_C_MODULES=${{ github.workspace }}/src/micropython.cmake BOARD=${{ env.BOARD_NAME }} BUILD=~/build/${{ env.BOARD_NAME }} + make USER_C_MODULES=${{ github.workspace }}/src/micropython.cmake BOARD=${{ env.BOARD_NAME }} BUILD=~/build/${{ env.BOARD_NAME }} all fi # delete Build in MicroPython \ No newline at end of file