File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,32 @@ jobs:
2929 run : |
3030 l3build doc -q
3131
32- - uses : actions/upload-artifact@v4
32+ - name : Analyze manual log
33+ run : |
34+ # set a notice message
35+ # https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions?tool=bash#setting-a-notice-message
36+ # create multiline annotations by using URL-encoded newline "%0A"
37+ # https://github.com/actions/toolkit/issues/193#issuecomment-605394935
38+ OVERFULL_HBOX=$(
39+ grep -r '^Overfull \\hbox' build/doc/pgfmanual.log |
40+ awk 'BEGIN {RS=""}{gsub(/\n/,"%0A",$0); print $0}'
41+ )
42+ echo "::notice file=build/doc/pgfmanual.log,title=Overfull hbox(es)::$OVERFULL_HBOX"
43+
44+ - name : Upload manual
45+ uses : actions/upload-artifact@v4
3346 with :
3447 name : pgfmanual
3548 path : build/doc/pgfmanual.pdf
3649
50+ - name : Upload manual with aux
51+ uses : actions/upload-artifact@v4
52+ with :
53+ name : pgfmanual-with-aux
54+ path : |
55+ build/doc/pgfmanual.*
56+ !build/doc/pgfmanual.tex
57+
3758 - name : Deploy tlcontrib
3859 env :
3960 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments