setup-java icon indicating copy to clipboard operation
setup-java copied to clipboard

Unable to parse Java version on Ubuntu runner

Open corrideat opened this issue 1 year ago • 1 comments

Description: Unable to parse Java version on Ubuntu runner.

Task version: 99b8673ff64fbf99d8d325f52d9a5bdedb8483e9

Platform:

  • [x] Ubuntu
  • [ ] macOS
  • [ ] Windows

Runner type:

  • [X] Hosted
  • [ ] Self-hosted

Repro steps:

  task:
    name: 'Ubuntu (Node 20, Deno 1.40, Java 21)'
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
        with:
          distribution: 'dragonwell'
          java-version: '21'

Expected behavior: Java is set up

Actual behavior:

Run actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
  with:
    distribution: dragonwell
    java-version: 21
    java-package: jdk
    check-latest: false
    server-id: github
    server-username: GITHUB_ACTOR
    server-password: GITHUB_TOKEN
    overwrite-settings: true
    job-status: success
    token: ***
Installed distributions
  Trying to resolve the latest version from remote
  Error: Invalid Version: 17.0.1+0.1+12

corrideat avatar Jun 29 '24 16:06 corrideat

Hello @corrideat Thank you for creating this issue. We will investigate it and get back to you as soon as we have some feedback.

HarithaVattikuti avatar Jul 01 '24 17:07 HarithaVattikuti

https://github.com/esaulpaugh/headlong/actions/runs/10216660329/job/28268643045

esaulpaugh avatar Aug 02 '24 13:08 esaulpaugh

Hi @corrideat, I'm closing this issue as the PR concerning the Dragonwell issue has been merged and resolved. Attached a screenshot for your reference. Please feel free to reopen this issue or create a new one if necessary. Thank you. Screenshot 2024-08-06 at 11 46 05 AM

gowridurgad avatar Aug 07 '24 06:08 gowridurgad