Skip to content

Commit

Permalink
Add grep.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrood-nrel committed Sep 27, 2024
1 parent a6cda95 commit 2b2d825
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 @@ -40,7 +40,7 @@ jobs:
- name: Report
run: |
echo "::add-matcher::.github/problem-matchers/sphinx.json"
egrep "WARNING:|Warning:|Error:" build-output.txt | sort | uniq | \
egrep "WARNING:|Warning:|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 2b2d825

Please sign in to comment.