File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -510,11 +510,6 @@ def _post_run(
510510 HtmlRunnerHooks .post_run (workflow , job , info_errors )
511511 workflow_result = Result .from_fs (workflow .name )
512512
513- # Altinity workflow report
514- cmd = f"PR_NUMBER={ env .PR_NUMBER } ./.github/actions/create_workflow_report/workflow_report_hook.sh"
515- workflow_report_url = Shell .get_output (cmd ).splitlines ()[- 1 ]
516- print (f"::notice ::Workflow report: { workflow_report_url } " )
517-
518513 if job .name == Settings .FINISH_WORKFLOW_JOB_NAME and ci_db :
519514 # run after HtmlRunnerHooks.post_run(), when Workflow Result has up-to-date storage_usage data
520515 workflow_storage_usage = StorageUsage .from_dict (
@@ -567,6 +562,11 @@ def _post_run(
567562 print (f"ERROR: Failed to post commit status for the job" )
568563
569564 if workflow .enable_report :
565+ # Altinity workflow report
566+ cmd = f"PR_NUMBER={ env .PR_NUMBER } ./.github/actions/create_workflow_report/workflow_report_hook.sh"
567+ workflow_report_url = Shell .get_output (cmd ).splitlines ()[- 1 ]
568+ print (f"::notice ::Workflow report: { workflow_report_url } " )
569+
570570 # to make it visible in GH Actions annotations
571571 print (f"::notice ::Job report: { report_url } " )
572572
You can’t perform that action at this time.
0 commit comments