Skip to content

Strange behavior for conditional serialized jobs #26995

Answered by BrightRan
jmalak asked this question in Actions
Discussion options

You must be logged in to vote

@jmalak ,

You can try the below configurations on  job4 , this should work as expected.

job4:
    runs-on: ubuntu-latest
    needs: job3
    if: github.ref == 'refs/heads/master' && always()
    steps:
    - name: job4
      run: echo "job4"

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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