Skip to content

Commit a70e3ef

Browse files
authored
Update build_uf2.yml
1 parent ceeeb45 commit a70e3ef

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build_uf2.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,17 @@ jobs:
7676
arduino-cli lib update-index
7777
echo "Installing required libraries..."
7878
arduino-cli lib install MIDIUSB
79-
arduino-cli lib install Adafruit_FreeTouch # <--- CHANGED THIS LINE
79+
# --- Attempting to install Adafruit_FreeTouch ---
80+
echo "Searching for Adafruit_FreeTouch..."
81+
arduino-cli lib search Adafruit_FreeTouch || echo "Search failed, proceeding with Git install."
82+
echo "Installing Adafruit_FreeTouch via Git URL..."
83+
arduino-cli lib install --git-url https://github.com/adafruit/Adafruit_FreeTouch.git # <--- INSTALLING VIA GIT
84+
# --- End Adafruit_FreeTouch Install ---
8085
arduino-cli lib install FlashStorage
8186
echo "Library installation complete."
87+
echo "--- Installed Libraries ---"
88+
arduino-cli lib list
89+
echo "---------------------------"
8290
8391
- name: Set Hardware Define in Header
8492
env:

0 commit comments

Comments
 (0)