From 4f7067388ad09f734fdd37ffe006d78d5dd2404d Mon Sep 17 00:00:00 2001 From: cjkas Date: Mon, 26 Oct 2026 22:11:26 +0100 Subject: [PATCH] ci: pin pioarduino 6.2.0 6.2.0.post1 reports itself as 6.2.0-post.1, which the pinned platform's ">=6.2.0" requirement reads as a pre-release, so every ESP32 build fails at its first pio run. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/build.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 562aa41..7ef5508 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -22,8 +22,10 @@ jobs: python-version: "3.12" # pioarduino's fork of PlatformIO Core, which the pioarduino platform needs. + # Pinned: 6.2.0.post1 reports itself as 6.2.0-post.1, which the + # platform's ">=6.2.0" reads as a pre-release and refuses. - name: Install PlatformIO - run: pip install pioarduino + run: pip install pioarduino==6.2.0 - name: Run native unit tests run: pio test -e native @@ -124,7 +126,7 @@ jobs: python-version: "3.12" - name: Install PlatformIO and esptool - run: pip install pioarduino esptool + run: pip install pioarduino==6.2.0 esptool - name: Build LittleFS image run: pio run -e ${{ matrix.env }} -t buildfs