From 98741879f262feddf29e3c32aa7f89c589ef1e38 Mon Sep 17 00:00:00 2001 From: PaulZC Date: Tue, 4 Jun 2024 09:30:36 +0100 Subject: [PATCH] Update non-release-build_v3.0.0.yml --- .github/workflows/non-release-build_v3.0.0.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/non-release-build_v3.0.0.yml b/.github/workflows/non-release-build_v3.0.0.yml index d47ec3916..99cfdd34d 100644 --- a/.github/workflows/non-release-build_v3.0.0.yml +++ b/.github/workflows/non-release-build_v3.0.0.yml @@ -63,9 +63,18 @@ jobs: - name: Update library index run: arduino-cli lib update-index - # We need v3.0.1-rc1 to fix the WiFiMulti.run timeout issue + # We need v3.0.1-rc1 to fix the WiFiMulti.run timeout issue - but it is not yet available + #- name: Install platform + # run: arduino-cli core install esp32:esp32@3.0.1-rc1 + + # So, right now, we need to use v3.0.0 and patch it - name: Install platform - run: arduino-cli core install esp32:esp32@3.0.1-rc1 + run: arduino-cli core install esp32:esp32@3.0.0 + - name: Patch v3.0.0 + run: | + cd Firmware/RTK_Everywhere/Patch/ + cp WiFiScan.h /home/runner/.arduino15/packages/esp32/hardware/esp32/3.0.0/libraries/WiFi/src/WiFiScan.h + cp WiFiScan.cpp /home/runner/.arduino15/packages/esp32/hardware/esp32/3.0.0/libraries/WiFi/src/WiFiScan.cpp - name: Get Known Libraries run: arduino-cli lib install