Skip to content

Commit 38914ff

Browse files
committed
Arduino Core install script fixed
1 parent 2e657a7 commit 38914ff

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/scripts/install-arduino-core-esp32.sh

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ if [ ! -d "$ARDUINO_ESP32_PATH" ]; then
1515
pip install requests > /dev/null
1616
fi
1717

18-
if [ "$GITHUB_REPOSITORY" == "espressif/arduino-esp32" ]; then
19-
echo "Linking Core..."
20-
ln -s $GITHUB_WORKSPACE esp32
21-
else
22-
echo "Cloning Core Repository..."
23-
git clone https://github.com/espressif/arduino-esp32.git esp32 > /dev/null 2>&1
24-
fi
18+
# I don't get the code below, you'd want to test the source code in the current repository (forked or not), not in the espressif repo right?
19+
#if [ "$GITHUB_REPOSITORY" == "espressif/arduino-esp32" ]; then
20+
echo "Linking Core..."
21+
ln -s $GITHUB_WORKSPACE "$PLATFORMIO_ESP32_PATH"
22+
#else
23+
# echo "Cloning Core Repository ..."
24+
# git clone --recursive https://github.com/espressif/arduino-esp32.git "$PLATFORMIO_ESP32_PATH" > /dev/null 2>&1
25+
#fi
2526

2627
echo "Updating Submodules ..."
2728
cd esp32

0 commit comments

Comments
 (0)