Skip to content

Commit 410e009

Browse files
committed
Handle case when check style failed at pr-java-ci.yml
1 parent 3d0c967 commit 410e009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-java-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
echo "❌ **Checkstyle Issues Detected**"
4545
echo ""
4646
echo '```'
47-
sed -n '/\[INFO\] Starting audit\.\.\./,/Audit done\./p' build_output.txt | sed '0d'
47+
sed -n '/\[INFO\] Starting audit\.\.\./,/Audit done\./p' build_output.txt | sed '1d' \| sed '0,/Audit done\./d'
4848
echo '```'
4949
} > comment.txt
5050
else

0 commit comments

Comments
 (0)