[ci] put more logs in a folded group (#86138)
fixes: request to not print the entire log file, but the last couple of lines since they are probably the most relevant
all but last 300 lines of failing tests get put into a folded group
example https://github.com/pytorch/pytorch/actions/runs/3177200444/jobs/5177703202
Pull Request resolved: https://github.com/pytorch/pytorch/pull/86138
Approved by: https://github.com/huydhn, https://github.com/ZainRizvi, https://github.com/lezcano