From 2a40e2ba12ea40d99b7e6af5dab26e50e3fa8bce Mon Sep 17 00:00:00 2001 From: Wastl Kraus Date: Tue, 22 Jul 2025 15:41:34 +0200 Subject: [PATCH] Revert "Update esp32.yml" This reverts commit ca4dc506820aa7dfb3d1c1f2434e5323e01fbbc9. --- .github/workflows/esp32.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/esp32.yml b/.github/workflows/esp32.yml index 8197dce..e165bd0 100644 --- a/.github/workflows/esp32.yml +++ b/.github/workflows/esp32.yml @@ -13,9 +13,18 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Compile dshot300.ino Example - uses: arduino/compile-sketches@v1 - with: - fqbn: esp32:esp32:esp32 - sketch-paths: examples/dshot300/dshot300.ino - libraries: . + - name: Set up Arduino CLI + run: | + curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/local/bin sh + arduino-cli core update-index + arduino-cli core install esp32:esp32 + + - name: Install DShotRMT as library + run: | + mkdir -p $HOME/Arduino/libraries + ln -s $PWD $HOME/Arduino/libraries/DShotRMT + + - name: Compile dshot300.ino example + run: | + arduino-cli compile --fqbn esp32:esp32:esp32 examples/dshot300/dshot300.ino + \ No newline at end of file