Skip to content

Success() does not works #26898

Answered by kingthorin
yi-Xu-0100 asked this question in Actions
Discussion options

You must be logged in to vote
yi-Xu-0100:

Thank you for your reply. You mean that the success status judged by Get manifest version comes from Compare version , and setup and build is skipped directly?

Yes I think that’s what’s going on.

I think it may be caused by such a situation. Is there any judgment of skip state? I only saw the ones that were judged to be cancelled. To determine the state of the previous step, you need to add an id to each state and write a long judgment formula, which is too verbose.

I just did a bit more quick reading, I think you could do something like:

      - name: setup and build
        id: build
        if: steps.comparison1.outputs.result == 'true'
        run: |
          npm i…

Replies: 8 comments

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
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
Comment options

You must be logged in to vote
0 replies
Answer selected
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
2 participants