Skip to content

Commit 5e77268

Browse files
committed
Cleanup board_name in build step (strip WS/noota)
1 parent 21039a9 commit 5e77268

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build-clang-doxy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,10 @@ jobs:
158158
id: get_board_json
159159
run: |
160160
board_name=${{ matrix.arduino-platform }}
161+
# Remove '_noota' suffix if present
162+
board_name=${board_name%_noota}
163+
# Remove 'wippersnapper_' prefix if present
164+
board_name=${board_name#wippersnapper_}
161165
content=$(cat ws-boards/boards/${board_name//_/-}/definition.json)
162166
{
163167
echo 'boardJson<<EOF'

0 commit comments

Comments
 (0)