Skip to content

Commit

Permalink
Add lowercase warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrood-nrel committed Sep 30, 2024
1 parent 3e4715e commit e528774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
working-directory: ${{runner.workspace}}/build-docs
run: |
echo "::add-matcher::.github/problem-matchers/sphinx.json"
egrep "WARNING:|Warning:|ERROR:|Error:" build-output.txt | sort | uniq | \
egrep "WARNING:|Warning:|warning:|ERROR:|Error:|error:" build-output.txt | sort | uniq | \
awk 'BEGIN{i=0}{print $0}{i++}END{print "Warnings: "i}' > build-output-warnings.txt
cat build-output-warnings.txt
exit $(tail -n 1 build-output-warnings.txt | awk '{print $2}')
Expand Down

0 comments on commit e528774

Please sign in to comment.