Skip to content

Commit 6c52de1

Browse files
committed
add more debug
1 parent c3a8a18 commit 6c52de1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/scripts/find_new_boards.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ echo $Boards_modified_url
1717
# Download the modified boards.txt file
1818
curl -L -o boards_pr.txt $Boards_modified_url
1919

20+
# Check if the file is downloaded
21+
if [ ! -f boards_pr.txt ]
22+
then
23+
echo "Error: boards.txt file not downloaded"
24+
exit 1
25+
fi
26+
2027
# Compare boards.txt file in the repo with the modified file
2128
diff=$(diff -u boards.txt boards_pr.txt)
2229

0 commit comments

Comments
 (0)