Skip to content

Commit

Permalink
update jq step to always run
Browse files Browse the repository at this point in the history
Signed-off-by: MarkAckert <[email protected]>
  • Loading branch information
MarkAckert committed Dec 6, 2024
1 parent 623320b commit 6f033e6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@ jobs:

- name: Output failed links in console
id: quick-output
if: always()
run: |
jq .fail_map lychee_output.json
if [[ -f "lychee_output.json" ]]; then
jq .fail_map lychee_output.json
else
echo "lychee command failed and didn't produce output"
fi
- name: Publish Output
id: publish
Expand Down

0 comments on commit 6f033e6

Please sign in to comment.