i’m running a Kotlin script as part of a github action
to debug, I wanted to add
println()
statements in different places
the problem is that it doesn’t show up in the action’s log
i’ve blamed github and moved to a docker container
however, it doesn’t output to the standard out either, though it prints warning messages related to the classpath
now, i’m wondering what is wrong
l
louiscad
07/07/2021, 9:32 AM
Weird, in my case it's working perfectly, you can see the code printing its measured processing time (not to be confused with time to compile, load and finally run the script).
https://github.com/LouisCAD/Splitties/runs/2993820921?check_suite_focus=true
Check the 4th step.
Is your GitHub action running on Ubuntu or on another place?
➕ 1
👀 1
n
nfrankel
07/07/2021, 10:11 AM
Is your GitHub action running on Ubuntu or on another place?
I see more differences. You're using SDKMAN to set the thing up, not snap packages, you're using kotlinc instead of executable file + shebang, some special parameters like using the old backend, etc.
👍 1
n
nfrankel
07/10/2021, 8:48 PM
thanks @louiscad
i fixed the issue
i don’t know exactly the issue
but installing via
snap
and running the script as per your repo did the trick
🎉