mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Merge pull request #7743 from nextcloud/improve-doc-generation-feedback
improve feedback from documentation generation workflow
This commit is contained in:
commit
305ae10cb5
6
.github/workflows/documentation.yml
vendored
6
.github/workflows/documentation.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user