Skip to content

Commit

Permalink
print the entire log if in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgurakgun committed Mar 26, 2024
1 parent 1a75904 commit 8ed7351
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions etc/build/silent-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,19 @@ else
echo " Exit code: ${EXITCODE}"
echo " Outputs saved to: make-solvers-${PID}.stdout and make-solvers-${PID}.stderr"
echo ""
echo "Last 10 lines of the stdout was:"
tail -n10 make-solvers-${PID}.stdout
echo ""
echo "Last 10 lines of the stderr was:"
tail -n10 make-solvers-${PID}.stderr
if [ -z ${GITHUB_ACTIONS} ]; then
echo "stdout was:"
cat make-solvers-${PID}.stdout
echo ""
echo "stderr was:"
cat make-solvers-${PID}.stderr
else
echo "Last 10 lines of the stdout was:"
tail -n10 make-solvers-${PID}.stdout
echo ""
echo "Last 10 lines of the stderr was:"
tail -n10 make-solvers-${PID}.stderr
fi
echo ""
echo ""
echo ""
Expand Down

0 comments on commit 8ed7351

Please sign in to comment.