Skip to content

Commit cd95789

Browse files
committed
Fix sketch_utils script
1 parent 3048196 commit cd95789

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/sketch_utils.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,8 @@ function build_sketches(){ # build_sketches <ide_path> <user_path> <target> <pat
382382
echo "Start Sketch: $start_num"
383383
echo "End Sketch : $end_index"
384384

385+
sizes_file="$GITHUB_WORKSPACE/cli_compile_$chunk_index.json"
385386
if [ $log_compilation ]; then
386-
sizes_file="$GITHUB_WORKSPACE/cli_compile_$chunk_index.json"
387387
#echo board,target and start of sketches to sizes_file json
388388
echo "{ \"board\": \"$fqbn\",
389389
\"target\": \"$target\",
@@ -453,4 +453,4 @@ case "$cmd" in
453453
echo "ERROR: Unrecognized command"
454454
echo "$USAGE"
455455
exit 2
456-
esac
456+
esac

0 commit comments

Comments
 (0)