From 53a1f85cc8a4ba83d0c0e16cd8c346a4440fe603 Mon Sep 17 00:00:00 2001 From: muzimuzhi Date: Fri, 21 Oct 2022 12:30:48 +0800 Subject: [PATCH] fixup! ci: analyse and show overfull hbox(es) Signed-off-by: muzimuzhi --- .github/workflows/doc.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"