Skip to content

Unable to parse Java version on Ubuntu runner #641

Description

@corrideat

Description:
Unable to parse Java version on Ubuntu runner.

Task version:
99b8673

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:

task:
name: 'Ubuntu (Node 20, Deno 1.40, Java 21)'runs-on: ubuntu-lateststeps:
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9with:
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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions