You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is more general, but specifically a problem for version numbers.
Take
with:
version: 1.10
getInput returns this as a string "1.1", whereas
with:
version: '1.10'
getInput returns a string "1.10".
In version numbers 1.1 != 1.10, and it's not possible for the action to defend against this to tell whether the entry might have been treated as a number before being presented as a string.
Expected behavior
getInput provide a way to get the raw entry, or indicate if input has been treated as a number before being returned as a string.
Or just never drop trailing zeros..
The text was updated successfully, but these errors were encountered:
Describe the bug
This issue is more general, but specifically a problem for version numbers.
Take
getInput
returns this as a string"1.1"
, whereasgetInput returns a string
"1.10"
.In version numbers 1.1 != 1.10, and it's not possible for the action to defend against this to tell whether the entry might have been treated as a number before being presented as a string.
Expected behavior
getInput
provide a way to get the raw entry, or indicate if input has been treated as a number before being returned as a string.Or just never drop trailing zeros..
The text was updated successfully, but these errors were encountered: