DeLaGuardo / setup-graalvm

MIT License
62 stars 17 forks source link

Is it possible to use GraalVM aarch64? #12

Closed rodrigorodrigues closed 3 years ago

rodrigorodrigues commented 3 years ago

Hi,

Could you please let me know if is that possible to use GraalVM Aarch64?

If there's some way to pass the full link(https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-21.0.0.2/graalvm-ce-java11-linux-aarch64-21.0.0.2.tar.gz) in the configuration would be great.

Thanks

DeLaGuardo commented 3 years ago

Good idea, I will prepare the new release tomorrow. Thanks for your suggestion!

DeLaGuardo commented 3 years ago

After some thinking, I decided not to allow passing download link. That will break caching ability for hosted actions. But I change the structure of the parameters. Please check the branch new-parameters. There are changes in the readme file to explain the new structure. The old way (using "graalvm-version") is not gone completely and used if provided. Still, it should be a bit more natural to use separate parameters to specify graalvm, java base, and architecture versions.

rodrigorodrigues commented 3 years ago

Thanks @DeLaGuardo looks great the changes, is there way to pointing to that branch for testing in Github Actions or better wait merge to master?

Thanks

DeLaGuardo commented 3 years ago

Yes, just put branch name instead of version

rodrigorodrigues commented 3 years ago

@DeLaGuardo it worked like a charm I could see in the logs the GraalVM aarch64 thanks very much for your help.

https://github.com/rodrigorodrigues/spring-native-crud-mongodb/blob/master/.github/workflows/spring-native.yml#L57-L62