]> source.dussan.org Git - gitea.git/commit
Show Actions post step when it's running (#29926) (#29928)
authorGiteabot <teabot@gitea.io>
Wed, 20 Mar 2024 06:25:11 +0000 (14:25 +0800)
committerGitHub <noreply@github.com>
Wed, 20 Mar 2024 06:25:11 +0000 (06:25 +0000)
commit087308822392966b393e7ee2a28d406cc3e3adec
tree85fffed1379a56e1ad5f4bb3622ea5bae4062542
parentff27ca32ca44401ed5e066dfd4ea27c3ef34e5db
Show Actions post step when it's running (#29926) (#29928)

Backport #29926 by @wolfogre

The post step was always waiting, even if all steps were done. Then,
once the task was done, the post step became success immediately.

Before:

<img width="915" alt="xnip_240320_120228"
src="https://github.com/go-gitea/gitea/assets/9418365/00347430-f998-4c43-917a-bf6dd6d0e333">

After:

<img width="905" alt="xnip_240320_120443"
src="https://github.com/go-gitea/gitea/assets/9418365/a419b111-17c2-4029-a022-c761cc419091">

Co-authored-by: Jason Song <i@wolfogre.com>
modules/actions/task_state.go
modules/actions/task_state_test.go