Skip to content

Mandrel JDK 17 instead of 21 is downloaded #211

@turing85

Description

@turing85

With the follwing configuration:

- name: Set up GraalVM 21
  uses: graalvm/setup-graalvm@v1
  with:
    distribution: 'mandrel'
    version: 'latest'
    java-version: 21
    github-token: ${{ secrets.GITHUB_TOKEN }}

it seems that not JDK 21, but JDK 17 is downloaded, see e.g https://github.com/quarkiverse/quarkus-artemis/actions/runs/23564885490/job/68613879839#step:4:21

Successfully set up 'mandrel-java17-21.3.6.0-Final'
  /opt/hostedtoolcache/mandrel-java21-linux/21.3.6-0-Final/x64/mandrel-java17-21.3.6.0-Final/bin/java --version
  openjdk 17.0.7 2023-04-18
  OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7)
  OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing)

This pipeline-run downloaded the correct Mandrel version and succeeded: https://github.com/quarkiverse/quarkus-artemis/actions/runs/23444741032/job/68205456805#step:4:21

Successfully set up 'mandrel-java21-23.1.10.0-Final'
  /opt/hostedtoolcache/mandrel-java21-linux/23.1.10-0-Final/x64/mandrel-java21-23.1.10.0-Final/bin/java --version
  openjdk 21.0.10 2026-01-20 LTS
  OpenJDK Runtime Environment Temurin-21.0.10+7 (build 21.0.10+7-LTS)
  OpenJDK 64-Bit Server VM Temurin-21.0.10+7 (build 21.0.10+7-LTS, mixed mode, sharing)

Notice that both runs were executed on the same commit (d343aed). The only different is the point in time when they were executed (2026-03-23 - succeeding vs. 2026-03-25 - failing).

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions