olafurpg / setup-scala

GitHub Action to install any version of Java (GraalVM, Java 8, Java 11, Java 14, ...) via Jabba. Works for any JVM language including Java, Scala and Kotlin.
MIT License
168 stars 30 forks source link

Support for sbtn #36

Closed steinybot closed 3 years ago

steinybot commented 3 years ago

Is there a way to use sbtn, sbt's native thin client?

SethTisue commented 3 years ago

does sbt --client work?

steinybot commented 3 years ago

Yes although there is a problem with sbtx where it always returns exit code 0 which is really bad in a CI environment (https://github.com/paulp/sbt-extras/issues/321). I haven't been able to get buy in that it is a problem with sbtx despite confirming in https://github.com/sbt/sbt/issues/6196 that it isn't a problem with the main sbt script.

olafurpg commented 3 years ago

Thank you for reporting! Closing since the linked PR is merged and sbt --client appears to work as expected