diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5c54205..f91d6f8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,13 +13,7 @@ jobs: architecture: "x64" - name: Install PlatformIO run: python -m pip install platformio - - name: Install Espressif32 - run: pio platform install espressif32 - - name: Copy boards - run: | - mkdir -p .platformio/platforms/espressif32/boards - cp -v ./boards/*.json .platformio/platforms/espressif32/boards - name: Build firmware - run: pio ci --lib="." --project-conf "example/platformio.ini" "example/main.cpp" + run: pio ci --lib="." --project-option="boards_dir=${{github.workspace}}/boards" --project-conf "example/platformio.ini" "example/main.cpp" env: PLATFORMIO_BUILD_FLAGS: -DLV_CONF_PATH="${{github.workspace}}/example/lv_conf.h"