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
{{ message }}
Repository navigation
Using GA, got - Error: The string '18.0.1.1' is not valid SemVer notation for a Java version. #25
Also errors for oracle.com, when using specific archived version 18.0.1.1. Using the default latest as version works, as its version resolves to only the feature number 18.
Activity
sormuras commentedon May 3, 2022
Thanks for reporting this issue, Rob.
The documentation of actions/setup-java says:
I guess, "a whole Java version" of
18.0.1.1is not (yet) supported byactions/setup-java@3, or that the underlying semver parser has an issue.There are some temporary mitigation paths
oracle-actions/setup-javacan take:x.y.zas the version toactions/setup-java@3. Here, omit the trailing.1from18.0.1.1:18.0.1actions/setup-java@2and test whether18.0.1.1are supported.Truncate parsed version to `X.Y.Z`
sormuras commentedon May 3, 2022
Also errors for
oracle.com, when using specific archived version18.0.1.1. Using the defaultlatestas version works, as its version resolves to only the feature number18.Truncate parsed version to `X.Y.Z` (#26)
Include interim of `0` when update is present
sormuras commentedon May 3, 2022
Rob, please restart the failed workflow run(s). They should work now.
rbygrave commentedon May 3, 2022
Thanks. Yes, re-run and all good. Awesome, thanks !!