Skip to content

Not require dependent Job to run #26793

Answered by ChristopherHX
dkirrane asked this question in Actions
Discussion options

You must be logged in to vote

@dkirrane
You have a syntax error in your workflow or does github actions allow it now?

You cannot use the env context in job if, which make me to believe you are using nektos/act.

See Issue: GitHub Actions says workflow is not valid because of `${{ !env.ACT }}` · Issue #720 · nektos/act · GitHub

For github some infomation ( this won’t apply to act, it acts differently ) about the status functions

  <a href="https://github.com/actions/runner/issues/491#issuecomment-926924523" target="_blank" rel="noopener nofollow ugc">github.com/actions/runner</a>

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants