From c3c6d5d3f87264f4b9ef47309759481e68f6aede Mon Sep 17 00:00:00 2001 From: Christopher Nadler <147471517+cnadler86@users.noreply.github.com> Date: Mon, 30 Sep 2024 06:37:21 +0200 Subject: [PATCH] ESP32.yml aktualisieren --- .github/workflows/ESP32.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ESP32.yml b/.github/workflows/ESP32.yml index d253315..cf55b03 100644 --- a/.github/workflows/ESP32.yml +++ b/.github/workflows/ESP32.yml @@ -127,11 +127,15 @@ jobs: cp ../../../src/sdkconfig_${{ env.BOARD_NAME }} sdkconfig.defaults fi + # Create a specific build directory + BUILD_DIR=~/build/${{ env.BOARD_NAME }} + mkdir -p $BUILD_DIR + # 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 }} all + make USER_C_MODULES=${{ github.workspace }}/src/micropython.cmake BOARD=${{ env.BOARD_NAME }} VARIANT=${{ env.BOARD_VARIANT }} BUILD=$BUILD_DIR else - make USER_C_MODULES=${{ github.workspace }}/src/micropython.cmake BOARD=${{ env.BOARD_NAME }} all + make USER_C_MODULES=${{ github.workspace }}/src/micropython.cmake BOARD=${{ env.BOARD_NAME }} BUILD=$BUILD_DIR fi # delete Build in MicroPython \ No newline at end of file