Skip to content

ubuntu-latest uses wrong JDK version #997

Description

@tresf

Description:
When [25] is selected, [17] is used.

This issue seems to be specific to steps that use the sudo command.

Logs:
https://github.com/qzind/tray/actions/runs/23968390243/job/69912859804

Task version:
v5

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:
https://github.com/qzind/tray/blob/669af6f31f3b6417c32299ea70376afe414825a1/.github/workflows/build.yaml

Expected behavior:
Java 25 is used

Actual behavior:
Java 17 is used

Activity

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

Metadata

Metadata

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