Skip to content

Commit f8076f4

Browse files
committed
fix potential bug in build report links
1 parent 0488d00 commit f8076f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/actions/create_workflow_report/create_workflow_report.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,8 @@ def get_build_report_links(
592592
for job in build_job_names:
593593
if job not in build_report_links:
594594
build_report_links[job] = link_template.format(job_name=job)
595+
596+
if len(build_report_links) > 0:
595597
return build_report_links
596598

597599
# No cache or build result was found, guess the links

0 commit comments

Comments
 (0)