We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0294105 commit c3a8a18Copy full SHA for c3a8a18
.github/scripts/find_new_boards.sh
@@ -23,6 +23,10 @@ diff=$(diff -u boards.txt boards_pr.txt)
23
# Extract added or modified lines (lines starting with '+' or '-')
24
modified_lines=$(echo "$diff" | grep -E '^[+-][^+-]')
25
26
+# Print the modified lines
27
+echo "Modified lines:"
28
+echo "$modified_lines"
29
+
30
boards_array=()
31
previous_board=""
32
@@ -43,6 +47,13 @@ do
43
47
fi
44
48
done <<< "$modified_lines"
45
49
50
+# Print all boards found
51
+echo "Boards found:"
52
+for board in ${boards_array[@]}
53
+do
54
+ echo $board
55
+done
56
46
57
# Create JSON like string with all boards found and pass it to env variable
58
board_count=${#boards_array[@]}
59
0 commit comments