Open
Description
As I understand it there are two points which would deserve clarification:
- If a version number, say
5.2
is written without quotes, then it will be understood as a float, which the action's runtime will silently convert into a string, which would here be interpreted as5
, meaning that5.3
would be a valid candidate. So one should write either5.2.x
(no quotes but an explicit x), or"5.2"
since this time the quoted5.2
will be interpreted as a string and understood as beeing equivalent to5.2.x
. - As stated in the documentation referred to by README.md:
Any of `X`, `x`, or `*` may be used to "stand in" for one of the numeric values in the `[major, minor, patch]` tuple.
In other words, in principle nothing guarantees that one will get the most recent possible version of the compiler. It seems this is the behaviour of the current implementation, though, but can one rely on it and, if so, could this be made explicit in the documentation?
All the credits for this issue should go to @MisterDA and @emillon who helped understanding the various aspects of this.