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
##[debug]java-version input is empty, looking for java-version-file input
##[debug]Parsed version from file 'null'
Error: No supported version was found in file .tool-versions
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Set up Java
This happens because the version regex does not accept the trailing .0.LTS. In other words, a .tool-versions content of java temurin-21.0.5+11 would pass the regex, but would not be a version known to the asdf plugin.
Task version:
v4.6.0.
Platform:
Ubuntu
macOS
Windows
Runner type:
Hosted
Self-hosted
Repro steps:
Create .tool-versions file at repository root with contents:
Activity
v-aparnajyothi-y commentedon Jan 9, 2025
Hello @alexpearce, Thank you for creating this issue and we will look into it :)
Regex update to fix actions#719
detro commentedon Apr 11, 2025
Just got the exact same problem, with
adoptopenjdk.My
.tool-versionslooks like this:Update Regex to Support All ASDF Versions for the supported distribut…