Skip to content

Commit 305ae10

Browse files
authored
Merge pull request #7743 from nextcloud/improve-doc-generation-feedback
improve feedback from documentation generation workflow
2 parents 745b34c + d12b51c commit 305ae10

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/documentation.yml

+6
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ jobs:
1616
cd doc
1717
make html > build.log 2>&1
1818
if grep WARNING build.log; then
19+
grep WARNING build.log | awk '{
20+
split($0, fields, ":");
21+
sub("/__w/desktop/desktop/", "", fields[1]);
22+
print "::warning file=" fields[1] ( length(fields[2]) ? ",line=" fields[2] : "" ) ",title=Documentation generation::" substr($0, index($0, fields[4]) + 1)
23+
}'
24+
1925
exit 1
2026
else
2127
exit 0

0 commit comments

Comments
 (0)