Zettat123 ac1ba34518 Fix incorrect job result status (#40)
Fix [#24039(GitHub)](https://github.com/go-gitea/gitea/issues/24039)

At present, if a job fails in the `Set up job`, the result status of the job will still be `success`. The reason is that the `pre` steps don't call `SetJobError`, so the `jobError` will be nil when `post` steps setting the job result. See 5c4a96bcb7/pkg/runner/job_executor.go (L99)

Reviewed-on: https://gitea.com/gitea/act/pulls/40
Reviewed-by: Jason Song <i@wolfogre.com>
Co-authored-by: Zettat123 <zettat123@gmail.com>
Co-committed-by: Zettat123 <zettat123@gmail.com>
2023-04-14 15:42:03 +08:00
..
2023-03-16 11:45:29 +08:00
2023-03-16 11:45:29 +08:00
2023-03-16 11:45:29 +08:00
2023-03-16 11:45:29 +08:00
2023-04-07 16:31:03 +08:00
2022-12-05 17:08:17 +08:00
2023-02-16 15:34:51 +00:00
2023-02-23 15:24:44 +00:00