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
As a developer, I want to create a GitHub Actions job that tests my JVM projects against floating, bleeding edge Java versions. For comparison, workflows for other languages like Go support this with the "latest" version value.
Justification:
Today, I do not see an option to let the Java version automatically target the latest stable Java release version. Which breaks efforts at futureproof testing, with each new major release of Java.
Hi @aep-sunlife, thank you for suggesting support for a java-version: latest option. While we recognize the benefits such as futureproofing CI pipelines and aligning with practices in other ecosystems. This feature currently hasn't received enough community interest or engagement.
We'll continue monitoring demand and revisit this in the future if more users indicate a need. In the meantime, we recommend explicitly specifying the desired Java version or using matrix builds to test against multiple versions.
This issue is scoped to a latest alias only (resolve to the newest available version).
The separate lts request (#847) is not being folded in here and has been declined — lts is a vendor support/lifecycle classification, not an alias for "latest," and supporting it as a version selector would be complex and error-prone (which versions are "LTS" varies by vendor and changes over time). See #847 for the rationale.
This issue (#832) remains open for the latest alias.
Activity
v-mahabaleshwars commentedon May 15, 2025
Hi @aep-sunlife,
Thank you for creating this feature request. We will investigate it and provide feedback as soon as we have some updates.
v-aparnajyothi-y commentedon Aug 11, 2025
Hi @aep-sunlife, thank you for suggesting support for a java-version: latest option. While we recognize the benefits such as futureproofing CI pipelines and aligning with practices in other ecosystems. This feature currently hasn't received enough community interest or engagement.
We'll continue monitoring demand and revisit this in the future if more users indicate a need. In the meantime, we recommend explicitly specifying the desired Java version or using matrix builds to test against multiple versions.
Thanks again for your feedback and contribution!
brunoborges commentedon Jun 23, 2026
This issue is scoped to a
latestalias only (resolve to the newest available version).The separate
ltsrequest (#847) is not being folded in here and has been declined —ltsis a vendor support/lifecycle classification, not an alias for "latest," and supporting it as a version selector would be complex and error-prone (which versions are "LTS" varies by vendor and changes over time). See #847 for the rationale.This issue (#832) remains open for the
latestalias.Support pinning java-version as "latest" (actions#1093)