graalvm / setup-graalvm

GitHub Action for setting up GraalVM distributions.
https://www.graalvm.org
Universal Permissive License v1.0
192 stars 27 forks source link

Ensure specific release instead of 21.latest #63

Closed borkdude closed 10 months ago

borkdude commented 11 months ago

I'd like to download specific releases of Oracle GraalVM 21, like 21.0.0 and not get the 21 latest automatically.

As discussed on Slack with @fniephaus:

good question, I don’t think you can at the moment. the logic is here and does not take into GA releases account. Can you file a ticket so we can look into it?

fniephaus commented 10 months ago

The script-friendly URL are unfortunately a bit awkward with the regard to GA vs latest releases:

I'm proposing to work around this by putting the following special handling for GA versions in place:

Does this makes sense to you?

borkdude commented 10 months ago

Sounds like a good solution to me!