We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b811ea4 commit 374280cCopy full SHA for 374280c
.github/workflows/boards.yml
@@ -45,6 +45,16 @@ jobs:
45
- name: Checkout repository
46
uses: actions/checkout@v3
47
48
+ - name: Check if build.board is uppercase
49
+ run: |
50
+ board_name=$(echo ${{ matrix.fqbn }} | awk -F':' '{print $NF}')
51
+ if grep -q "^$board_name.build.board=[A-Z0-9_]*$" boards.txt; then
52
+ echo "$board_name.build.board is valid.";
53
+ else
54
+ echo "Error: $board_name.build.board is not uppercase!";
55
+ exit 1;
56
+ fi
57
+
58
- name: Compile sketch
59
uses: P-R-O-C-H-Y/compile-sketches@main
60
with:
0 commit comments