diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index b6b78febd..6ba94055a 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -34,8 +34,8 @@ jobs: # use url-encoded newline %0A # https://github.com/actions/toolkit/issues/193#issuecomment-605394935 OVERFULL_HBOX=$( \ - texloganalyser -o build/doc/pgfmanual.log | \ - awk 'BEGIN {RS=""}{gsub(/\n/,"%0A",$0); print $0}' \ + grep -r '^Overfull \\hbox' build/doc/pgfmanual.log | \ + awk 'BEGIN {RS=""}{gsub(/\n/,"%0A",$0); print $0}' \ ) echo "::warning file=build/doc/pgfmanual.log,title=Overfull hbox(es)::$OVERFULL_HBOX"