Skip to content

Commit 4edeca7

Browse files
author
Marc Stern
committed
Added "::error" in error message
1 parent 1680f5b commit 4edeca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
# '|| :' handles the case grep doesn't match, otherwise the script exits with 1 (error)
5555
errors=$(grep -E ':(?error|warn)[]]' /var/log/apache2/error.log) || :
5656
if [[ -z "${errors}" ]]; then exit 0; fi
57-
echo "Found errors/warnings in error.log"
57+
echo "::error Found errors/warnings in error.log"
5858
echo "${errors}"
5959
exit 1
6060
- name: Show httpd error log

0 commit comments

Comments
 (0)