Closed
Description
Description
When running multiple jobs in a workflow, the action status is mark failed as soon as first fail happend, this cause following problems
- remaining jobs can only be cancelled by rerun all jobs(only when there's no failure in an action show cancel buttom)
- remaining job status require refresh the website to update
This behavior is not consistant with Gitea v1.21.1(my previous version) and Github Action, following is the reproduce workflow
name: Gitea Action violate failing behavior demo
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on: [push]
jobs:
Fail-Job:
runs-on: ubuntu-latest
steps:
- name: fail the regression
run: |
exit 1
Long-Running-Job:
runs-on: ubuntu-latest
steps:
- name: wait for 5s then return 0
run: |
sleep 5
Gitea Version
1.24.2
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Running workflow with Github Action
Running workflow with Gitea Action v1.24.2, after first job fail, the cancel icon change to rerun all, and the remaining job status only update when refresh UI
Git Version
No response
Operating System
Centos
How are you running Gitea?
Self-hosted with release binary
Database
None