Skip to content

Commit 18fd6c9

Browse files
committed
fixed arduino-builder not found
1 parent b850782 commit 18fd6c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ if [ -z "$LIBRARIES_PATH" ]; then
1313
fi
1414

1515
if [ ! -z "$SKETCH_PATH" ]; then
16+
SKETCH_PATH=$(readlink -f "$SKETCH_PATH")
17+
cd /opt/arduino
1618
if [ -z "$1" ]; then
1719
./arduino-builder -hardware ./hardware -tools ./hardware/tools/avr -tools ./tools-builder -libraries ./libraries -libraries $LIBRARIES_PATH -libraries $GITHUB_WORKSPACE/../ -fqbn $BOARD_NAME "$SKETCH_PATH"
1820
else

0 commit comments

Comments
 (0)