Unverified Commit 64254c09 authored by Peter Eastman's avatar Peter Eastman Committed by GitHub
Browse files

Retry error when checking for broken links (#5258)

parent 9aae4bb3
...@@ -666,12 +666,12 @@ jobs: ...@@ -666,12 +666,12 @@ jobs:
)") )")
for d in api-c++ api-python developerguide userguide; do for d in api-c++ api-python developerguide userguide; do
echo "::group:: Check ${d}" echo "::group:: Check ${d}"
npx linkinator@3.0.0 ./${d}/ --recurse --timeout=20000 --skip "$SKIP_REGEX" --server-root ./build/api-docs --verbosity error npx linkinator@3.0.0 ./${d}/ --recurse --timeout=20000 --retry-errors --skip "$SKIP_REGEX" --server-root ./build/api-docs --verbosity error
((exitcode+=$?)) ((exitcode+=$?))
echo "::endgroup::" echo "::endgroup::"
done done
echo "::group:: Check README" echo "::group:: Check README"
npx linkinator@3.0.0 ./README.md --markdown --skip "$SKIP_REGEX" npx linkinator@3.0.0 ./README.md --markdown --retry-errors --skip "$SKIP_REGEX"
((exitcode+=$?)) ((exitcode+=$?))
echo "::endgroup::" echo "::endgroup::"
exit $exitcode exit $exitcode
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment