Windows Environment Setup #342
-
First of all the project looks great and hits a lot of the points that I did not like about writing Github Actions in yaml so I am very eager to try it out for managing my Flutter app's workflows. With that being said, I am having a hard time setting up an environment to actually be able to write and run these scripts on my Window's machine. This might be out of the scope of a discussion here, but maybe it will prove useful for future people trying to setup their environments as well. I do have IntelliJ IDEA installed and setup but how to actually get something working with kotlin scripts is where I am stumped. I don't seem to be able to get certain dependencies to register such that I can use things like If anyone has some insight on the direction I should take or any resources I can look at, that would be greatly appreciated. I have searched a bit for the past day or so and haven't had much luck. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Are you aware that the file name part |
Beta Was this translation helpful? Give feedback.
-
Not using widows, but after installing Kotlin (should be easy to Google) I
would try to execute the Kotlin scripts from our repo/.github/workflows
… Message ID:
<krzema12/github-actions-kotlin-dsl/repo-discussions/342/comments/3141005@
github.com>
|
Beta Was this translation helpful? Give feedback.
Are you aware that the file name part
.main.kts
is mandatory?By having that name suffix, things like
@DependsOn
just work.To execute it, you can for example install Kotlin and execute it as usual, or you can create an IntelliJ run configuration that executes it, or you can define a Gradle task that executes it.