Allow comparing versions in if conditions

A feature that allows comparing versions in if conditions for job steps would be very useful to conditionally run steps if the version of the tool we’re running with is sufficiently high.

Example:

name: “example”

if: matrix.version >= 9.4.1

run: …

2 Likes

Hi @daandemeyer,

Thanks for this feedback! We’re always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I’ve logged your feature request in our internal feature request list. Though I can’t guarantee anything or share a timeline for this, I can tell you that it’s been shared with the appropriate teams for consideration.

Cheers!

3 Likes

Edit/removed: Sorry. Meant to reply to this related thread here:

https://github.community/t5/GitHub-Actions/Allow-nesting-matrix-includes/m-p/34592/highlight/true#M1967

Basically, need to access “matrix” in a “job” “if” conditional.