Skip to content

Commit ed7d717

Browse files
committed
Remove fallback script as 1.9.0 has been released
This will avoid misalignment. Signed-off-by: Frederic Pillon <[email protected]>
1 parent 34cfb9d commit ed7d717

File tree

6 files changed

+2
-990
lines changed

6 files changed

+2
-990
lines changed

Diff for: compile-examples/Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ CMD /bin/bash
1010

1111
# Copies your code file from your action repository to the filesystem path `/` of the container
1212
COPY entrypoint.sh /entrypoint.sh
13-
COPY scripts /scripts
1413

1514
# Code file to execute when the docker container starts up (`entrypoint.sh`)
1615
ENTRYPOINT ["/entrypoint.sh"]

Diff for: compile-examples/entrypoint.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,10 @@ else
7878
fi
7979
fi
8080

81-
# arduino-cli.py will be available on core version 1.9.0
82-
# Fallback to the embedded one if not exists
8381
# Check if arduino-cli.py available
8482
if [ ! -f "$SCRIPT_PATH/arduino-cli.py" ]; then
85-
SCRIPT_PATH="/scripts"
83+
echo -e "\e[31;1marduino-cli.py could not be found!\e[0m"
84+
exit 1
8685
fi
8786

8887
# Build all examples

Diff for: compile-examples/scripts/.flake8

-2
This file was deleted.

0 commit comments

Comments
 (0)