Skip to content

Commit

Permalink
Merge pull request #7743 from nextcloud/improve-doc-generation-feedback
Browse files Browse the repository at this point in the history
improve feedback from documentation generation workflow
  • Loading branch information
mgallien authored Jan 10, 2025
2 parents 745b34c + d12b51c commit 305ae10
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ jobs:
cd doc
make html > build.log 2>&1
if grep WARNING build.log; then
grep WARNING build.log | awk '{
split($0, fields, ":");
sub("/__w/desktop/desktop/", "", fields[1]);
print "::warning file=" fields[1] ( length(fields[2]) ? ",line=" fields[2] : "" ) ",title=Documentation generation::" substr($0, index($0, fields[4]) + 1)
}'
exit 1
else
exit 0
Expand Down

0 comments on commit 305ae10

Please sign in to comment.