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

`setting-path` option #25

Open 10000-ki opened 1 year ago

10000-ki commented 1 year ago

Is there an option such as setting-path

like setup-java

https://oss.navercorp.com/actions/setup-java/blob/8d222861066e40836af2181b3a2ddd46f05b2dd8/docs/advanced-usage.md#apache-maven-with-a-settings-path

NOTE: The settings.xml file is created in the Actions $HOME/.m2 directory. If you have an existing settings.xml file at that location, it will be overwritten. See below for using the settings-path to change your settings.xml file location. If you don't want to overwrite the settings.xml file, you can set overwrite-settings: false

fniephaus commented 1 year ago

At the moment, there isn't. I'm not sure I understand what this option is for. Why would you have an existing settings.xml file at the default location?

10000-ki commented 1 year ago

When using an Actions self-hosted runner with multiple shared runners the default $HOME directory can be shared by a number runners at the same time which could overwrite existing settings file.

Is there any problem like above in graalvm setup action?

fniephaus commented 1 year ago

Yes, I believe this extension has the describe problem. We'll look into a fix for this.

10000-ki commented 1 year ago

Yes, I believe this extension has the describe problem. We'll look into a fix for this.

thx