File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ print_build_caching_leverage_metrics() {
175
175
if [[ " ${avoided_from_cache_num_tasks[1]} " ]]; then
176
176
local taskCount
177
177
taskCount=" $( printf " %${task_count_padding} s" " ${avoided_from_cache_num_tasks[1]} " ) "
178
- value=" ${taskCount} ${BUILD_TOOL_TASK} s, ${ avoided_from_cache_avoidance_savings[1]} total saved execution time"
178
+ value=" ${taskCount} ${BUILD_TOOL_TASK} s, $( format_duration avoided_from_cache_avoidance_savings[1]) total saved execution time"
179
179
fi
180
180
summary_row " Avoided cacheable ${BUILD_TOOL_TASK} s:" " ${value} "
181
181
@@ -188,14 +188,14 @@ print_build_caching_leverage_metrics() {
188
188
fi
189
189
190
190
taskCount=" $( printf " %${task_count_padding} s" " ${executed_cacheable_num_tasks[1]} " ) "
191
- value=" ${summary_color}${taskCount} ${BUILD_TOOL_TASK} s, ${ executed_cacheable_duration[1]} total execution time${RESTORE} "
191
+ value=" ${summary_color}${taskCount} ${BUILD_TOOL_TASK} s, $( format_duration executed_cacheable_duration[1]) total execution time${RESTORE} "
192
192
fi
193
193
summary_row " Executed cacheable ${BUILD_TOOL_TASK} s:" " ${value} "
194
194
195
195
value=" "
196
196
if [[ " ${executed_not_cacheable_num_tasks[1]} " ]]; then
197
197
taskCount=" $( printf " %${task_count_padding} s" " ${executed_not_cacheable_num_tasks[1]} " ) "
198
- value=" ${taskCount} ${BUILD_TOOL_TASK} s, ${ executed_not_cacheable_duration[1]} total execution time"
198
+ value=" ${taskCount} ${BUILD_TOOL_TASK} s, $( format_duration executed_not_cacheable_duration[1]) total execution time"
199
199
fi
200
200
summary_row " Executed non-cacheable ${BUILD_TOOL_TASK} s:" " ${value} "
201
201
}
You can’t perform that action at this time.
0 commit comments