Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2853b7c

Browse filesBrowse files
authored
fix(ci): Log default FQBN if not passed (#10302)
1 parent 6264d6b commit 2853b7c
Copy full SHA for 2853b7c

File tree

Expand file treeCollapse file tree

1 file changed

+8
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-1
lines changed

‎.github/scripts/sketch_utils.sh

Copy file name to clipboardExpand all lines: .github/scripts/sketch_utils.sh
+8-1Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,10 +416,17 @@ function build_sketches(){ # build_sketches <ide_path> <user_path> <target> <pat
416416
echo "Start Sketch: $start_num"
417417
echo "End Sketch : $end_index"
418418

419+
#if fqbn is not passed then set it to default for compilation log
420+
if [ -z $fqbn ]; then
421+
log_fqbn="espressif:esp32:$target"
422+
else
423+
log_fqbn=$fqbn
424+
fi
425+
419426
sizes_file="$GITHUB_WORKSPACE/cli_compile_$chunk_index.json"
420427
if [ $log_compilation ]; then
421428
#echo board,target and start of sketches to sizes_file json
422-
echo "{ \"board\": \"$fqbn\",
429+
echo "{ \"board\": \"$log_fqbn\",
423430
\"target\": \"$target\",
424431
\"sketches\": [" >> "$sizes_file"
425432
fi

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.