Skip to content

Commit a8f5202

Browse files
committed
Report exit code from link check
1 parent 9d64cd7 commit a8f5202

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/link-checker.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ jobs:
7878
'
7979
) >> "$GITHUB_STEP_SUMMARY"
8080
cat log
81-
echo "exit-code=$(cat exit-code)" >> "$GITHUB_OUTPUT"
81+
exit_code=$(cat exit-code)
82+
echo "exit-code=$exit_code" >> "$GITHUB_OUTPUT"
83+
exit $exit_code
8284
env:
8385
linkcheck: ${{ steps.setup.outputs.linkcheck }}
8486
arguments: https://${{ vars.gh_pages_site || 'docs.check-spelling.dev' }}

0 commit comments

Comments
 (0)