GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Get Java version from .tool-versions file · Issue #579 · actions/setup-java

Get Java version from .tool-versions file #579

New issue
Copy link
New issue
Copy link
Closed
Closed
Get Java version from .tool-versions file#579
Copy link
Assignees
v-mahabaleshwars
Labels
feature requestNew feature or request to improve the current logic

Description

@paulschreiber
paulschreiber
opened on Dec 28, 2023
Issue body actions

Description:
Please add support for getting the Java version from the .tool-versions file.

Justification:
This is supported by actions/setup-node, which we also use. Having a separate .java-version file (added in 3.9.0) is less efficient.

Reacted by Robert Rathsack

Activity

  1. paulschreiber
    added
    feature requestNew feature or request to improve the current logic
    needs triage
    on Dec 28, 2023
  2. v-aparnajyothi-y commented on Dec 29, 2023

    @v-aparnajyothi-y
    v-aparnajyothi-y
    on Dec 29, 2023
    Contributor
    More actions

    Hello @paulschreiber, Thanks for the feature request, we will take a look and get back to you with our decision.

  3. IvanZosimov
    removed
    needs triage
    on Dec 29, 2023
  4. v-aparnajyothi-y
    assigned
    v-mahabaleshwars
    on Jan 2, 2024
  5. v-mahabaleshwars
    closed this as completedon Apr 18, 2024
  6. v-mahabaleshwars commented on Jul 24, 2024

    @v-mahabaleshwars
    v-mahabaleshwars
    on Jul 24, 2024
    Contributor
    More actions

    Hi @paulschreiber,
    We have added the functionality to extract the Java version from a .tool-versions file in actions/[email protected]. Hence we are proceeding to close this issue.
    Please feel free to reach us in case of any further concerns/clarifications needed.

  7. paulschreiber commented on Jul 24, 2024

    @paulschreiber
    paulschreiber
    on Jul 24, 2024
    Author
    More actions

    Thanks. Can you update the README with an example? i.e. do I use
    java-version-file: '.tool-versions'

    as with actions/setup-node?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @v-mahabaleshwars
    v-mahabaleshwars

Labels

feature requestNew feature or request to improve the current logic

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.