Skip to content

Can you have a job "fail" but not fail the workflow? #56441

Answered by airtower-luna
gilzow asked this question in Actions
Discussion options

You must be logged in to vote

Is there a way to have subsequent jobs depend on an earlier job but not have the earlier job fail?

Yes. The natural thing to do would be to have your job1 set a job output that tells the other jobs if they should run (instead of failing), and then add if conditions using that output on the other jobs.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gilzow
Comment options

Answer selected by gilzow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question
2 participants