We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70c9702 commit 3656b32Copy full SHA for 3656b32
.github/workflows/.ci_scripts/compile-arduino-sketches.sh
@@ -23,7 +23,7 @@ echo "<END>"
23
24
# Find all .ino files and compile each one, excluding those in the blacklist
25
exit_result=0
26
-find "$SKETCHES" -name "*.ino" | while read sketch; do
+while read sketch; do
27
if ! grep -Fxq "$sketch" "$BLACKLIST_FILE"; then
28
echo "Compiling $sketch"
29
arduino-cli compile --fqbn "$FQBN" "$sketch" --warnings more
@@ -34,11 +34,10 @@ find "$SKETCHES" -name "*.ino" | while read sketch; do
34
exit_result=1
35
fi
36
echo "result: $exit_result"
37
-
38
else
39
echo "Skipping $sketch (blacklisted)"
40
41
-done
+done < <(find "$SKETCHES" -name "*.ino")
42
43
# Exit with error state
44
0 commit comments