-
Notifications
You must be signed in to change notification settings - Fork 6
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
Is this tool relevant anymore? #174
Comments
Hi @mahozad I've seen that GitHub added Kotlin to the runner environments, and I think that's a great change. I think there are still some cases where this action provides additional benefit. For example if you want to make use of the Kotlin native compiler, or if you want to chose a specific Kotlin version, or if your Workflow runs inside a Container or Self-Hosted runner. But overall I think for most users you are probably right that this action has been replaced with a better solution, so if you don't need it anymore, I encourage you to remove it from your workflows. Kind regards Florian |
@fwilhe2 That's good. Thank you. |
Built in solution doesn’t allow inline scripts no? |
Depends on what you want, but since you can use Kotlin as a "shell" I think you don't need this action to use inline Kotlin in your workflows as in this example: jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
java.io.File(".").listFiles().forEach {it -> println(it.getName().toString())}
shell: kotlin -howtorun .main.kts {0} I've liked respective issues here. If you don't need a specific Kotlin version, you don't need this action to do that. I've just tested it here. |
but that works? I tried it two weeks ago and it was not working without your action 🤔 Thank you for the info 😃 |
Do you know a tutorial about how to migrate from bash to kotlin the typical things like setting an output and so on? |
Is this tool still relevant? I don't know, maybe. I just used this despite Kotlin being available on GitHub actions out of the box because I needed Kotlin 1.6.0 and the GitHub actions only had 1.5.31. And I couldn't figure out how to tell GitHub actions to use Kotlin 1.6.0 instead of 1.5.31 in any other way than using this tool. |
Now that GitHub actions environments have Kotlin pre-installed (issue, YouTube announcement), do I need this tool anymore in my actions?
The text was updated successfully, but these errors were encountered: