File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,13 +115,15 @@ jobs:
115115 # Define the path to a utility for validating links:
116116 validate="${root}/lib/node_modules/@stdlib/_tools/links/validate/bin/cli"
117117
118+ echo "## Link Validation" >> $GITHUB_STEP_SUMMARY
119+
118120 output=$(echo '${{ steps.results.outputs.all_links }}' | ${validate})
119121 if [[ "${output}" != "All links are valid." ]]; then
120- echo "| Error | ID | URL |" >> $GITHUB_STEP_SUMMARY
121- echo "| ----- | -- | --- |" >> $GITHUB_STEP_SUMMARY
122+ echo "| URL | ID | Error |" >> $GITHUB_STEP_SUMMARY
123+ echo "| --- | -- | -- --- |" >> $GITHUB_STEP_SUMMARY
122124
123125 echo "$output" | jq -r '.[] | [.error, .id, .url] | @tsv' | while IFS=$'\t' read -r error id url; do
124- echo "| $error | $id | $url |" >> $GITHUB_STEP_SUMMARY
126+ echo "| $url | $id | $error |" >> $GITHUB_STEP_SUMMARY
125127 done
126128 else
127129 echo "$output"
You can’t perform that action at this time.
0 commit comments