Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
linghengqian opened this issue Jan 22, 2023 · 4 comments · Fixed by #31
Closed

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

linghengqian opened this issue Jan 22, 2023 · 4 comments · Fixed by #31
Assignees
Labels
enhancement New feature or request

Comments

@linghengqian
Copy link

Error: Could not find GraalVM dev build for Java 17. It may no longer be available, so please consider upgrading the Java version. If you think this is a mistake, please file an issue at: https://github.com/graalvm/setup-graalvm/issues.
@alvarosanchez
Copy link

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

- uses: graalvm/setup-graalvm@v1
  with:
    version: 'dev'
    java-version: 'dev'

@fniephaus
Copy link
Member

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 fniephaus self-assigned this Jan 23, 2023
@fniephaus fniephaus added the enhancement New feature or request label Jan 23, 2023
fniephaus added a commit that referenced this issue Jan 24, 2023
fniephaus added a commit that referenced this issue Jan 24, 2023
fniephaus added a commit that referenced this issue Jan 24, 2023
fniephaus added a commit that referenced this issue Jan 24, 2023
fniephaus added a commit that referenced this issue Jan 24, 2023
fniephaus added a commit that referenced this issue Jan 24, 2023
fniephaus added a commit that referenced this issue Jan 24, 2023
@fniephaus
Copy link
Member

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

@linghengqian
Copy link
Author

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

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants