-
Given pseudo steps like this:
How do I succeed the overall job? If I set continue-on-error for the first step the if: failure() will not trigger. Without succeding this job I can not run other jobs with needs: Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
ethomson
Nov 2, 2019
Replies: 1 comment
-
A failing step will cause the workflow to fail. Instead of allowing the step to fail and then testing for it, you can set a variable when the docker pull fails, allow that step to succeed and then test for that variable. For example:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A failing step will cause the workflow to fail. Instead of allowing the step to fail and then testing for it, you can set a variable when the docker pull fails, allow that step to succeed and then test for that variable.
For example: