Skip to content

Commit 68ec0db

Browse files
committed
ci: Use the current repo when linking the core, regardless if it's a fork or not.
This allows forks to run workflows with their own code. Signed-off-by: Abdelatif Guettouche <[email protected]>
1 parent b0fe35a commit 68ec0db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if [ ! -d "$ARDUINO_ESP32_PATH" ]; then
1515
pip install requests > /dev/null
1616
fi
1717

18-
if [ "$GITHUB_REPOSITORY" == "espressif/arduino-esp32" ]; then
18+
if [ ! -z "$GITHUB_REPOSITORY" ]; then
1919
echo "Linking Core..."
2020
ln -s $GITHUB_WORKSPACE esp32
2121
else

0 commit comments

Comments
 (0)