Skip to content

Commit 3656b32

Browse files
committed
Further fixes and debug messages
1 parent 70c9702 commit 3656b32

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/.ci_scripts/compile-arduino-sketches.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ echo "<END>"
2323

2424
# Find all .ino files and compile each one, excluding those in the blacklist
2525
exit_result=0
26-
find "$SKETCHES" -name "*.ino" | while read sketch; do
26+
while read sketch; do
2727
if ! grep -Fxq "$sketch" "$BLACKLIST_FILE"; then
2828
echo "Compiling $sketch"
2929
arduino-cli compile --fqbn "$FQBN" "$sketch" --warnings more
@@ -34,11 +34,10 @@ find "$SKETCHES" -name "*.ino" | while read sketch; do
3434
exit_result=1
3535
fi
3636
echo "result: $exit_result"
37-
3837
else
3938
echo "Skipping $sketch (blacklisted)"
4039
fi
41-
done
40+
done < <(find "$SKETCHES" -name "*.ino")
4241

4342
# Exit with error state
4443
echo "result: $exit_result"

0 commit comments

Comments
 (0)