Viewing complete output of a running Bash script?

On Travis CI, I can see the complete output of a running Bash script, however on GitHub Actions, it’s only showing the latest lines.

Is there any way to view the complete output? Now I can wait for it to end, but if for some reason it’s stuck I cannot even view the previous messages that could explain why it’s stuck.