act_runner/internal/app/run
rowan-allspice 1735b26e66 Don't log job output when debug logging is not enabled (#543)
We wanted the ability to disable outputting the logs from the individual job to the console. This changes the logging so that job logs are only output to the console whenever debug logging is enabled in `act_runner`, while still allowing the `Reporter` to receive these logs and forward them to Gitea when debug logging is not enabled.

Co-authored-by: Rowan Bohde <rowan.bohde@gmail.com>
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/543
Reviewed-by: Jason Song <i@wolfogre.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: rowan-allspice <rowan-allspice@noreply.gitea.com>
Co-committed-by: rowan-allspice <rowan-allspice@noreply.gitea.com>
2024-05-07 05:58:33 +00:00
..
logging.go Don't log job output when debug logging is not enabled (#543) 2024-05-07 05:58:33 +00:00
runner.go Don't log job output when debug logging is not enabled (#543) 2024-05-07 05:58:33 +00:00
workflow_test.go Support upload outputs and use needs context (#133) 2023-04-20 23:27:46 +08:00
workflow.go Support upload outputs and use needs context (#133) 2023-04-20 23:27:46 +08:00