Skip to content

Using the output of run: inside of if: condition? #25871

Answered by dawidd6
Cobertos asked this question in Actions
Discussion options

You must be logged in to vote
- id: id
  run: echo ::set-output name=key::value
- if: steps.id.outputs.key == 'value'

This should work.

Replies: 1 comment

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
Labels
None yet
2 participants