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

Unable to get `GraalVM dev build for Java 17` normally #30

Closed linghengqian closed 1 year ago

linghengqian commented 1 year ago
alvarosanchez commented 1 year ago

@fniephaus this could be solved if the following would be supported:

- uses: graalvm/setup-graalvm@v1
  with:
    version: 'dev'
    java-version: 'dev'
fniephaus commented 1 year ago

Thanks for raising this issue, @linghengqian.

setup-graalvm should have logic to try to use previous dev builds of GraalVM CE

That won't solve your issue because GraalVM dev builds are volatile and will be removed at some point. So even if you see an older JDK17 dev build, it will no longer be available after a few days/weeks and then your builds will start failing.

this could be solved if the following would be supported:

Yes, I think we can support java-version: dev, although it may still break your builds if your codebase doesn't support building against the latest Java version.

fniephaus commented 1 year ago

Please take a look at #31, @linghengqian and @alvarosanchez.

linghengqian commented 1 year ago

Please take a look at #31, @linghengqian and @alvarosanchez.

LGTM!