Skip to content

How to variabilise ENV values cleanly? #25479

Answered by BrightRan
rgarrigue asked this question in Actions
Discussion options

You must be logged in to vote

@rgarrigue,

You can try like as this mentioned by @Simran-B here:

env:
  SLACK_COLOR: "${{ job.status == 'success' && 'good' || 'danger' }}"

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
2 participants