Skip to content

AND operator in if: condition #27152

Answered by airtower-luna
reikdas asked this question in Actions
Discussion options

You must be logged in to vote

You need to enclose the whole expression in ${{ ... }}, or nothing at all:

if: ${{ (matrix.coverage == true) && (runner.os == 'Linux') }}

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@socketbox
Comment options

@airtower-luna
Comment options

@socketbox
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants