Bug: github.job is empty in jobs.if #25660
-
Test workflow:
Expected: job is failed. Please fix it. I wanted to use
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Thanks for your feedback.
|
Beta Was this translation helpful? Give feedback.
-
Yeah, that might work as well. In my case though the job contains up to 10 steps, so it would be inconvenient to paste that boilerplate code to every step. I managed to achieve the logic I wanted by hard-coding of the job ID in
|
Beta Was this translation helpful? Give feedback.
-
niconbw:
But it’s supposed to be supported, right? This problem seems to still be occurring, and I cannot find anything about the impossibility of using |
Beta Was this translation helpful? Give feedback.
Yeah, that might work as well. In my case though the job contains up to 10 steps, so it would be inconvenient to paste that boilerplate code to every step. I managed to achieve the logic I wanted by hard-coding of the job ID in
if
clause: