-
Notifications
You must be signed in to change notification settings - Fork 76
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
Add support for GitHub Actions #68
Conversation
5243ee8
to
b69b844
Compare
@olafurpg Is it an sbt launcher generated by coursier bootstrap? Until the |
@alexarchambault thank you for the suggestion! The The coursier sbt-launcher seems to fail on sbt 1.3.x with
Any idea if it's possible to use the launcher with sbt 1.3? |
GitHub Actions is looking super promising so far. It's a joy to write custom actions and the lack of caching doesn't seem to be a blocker, clean installing OpenJDK + launching sbt + compiling a bit of Scala code seems to complete in around one minute! The code for the custom action to install JDK + sbt is here https://github.com/olafurpg/setup-java/blob/5fbc7abe97954a5348df0397160d921ad65d2bd6/src/install.ts#L36 I think it might even work on Windows, although I haven't tested that yet. |
@olafurpg I would blame the too old sbt-coursier plugin you're relying on. But you can remove sbt-coursier altogether with sbt 1.3.x. That's unless you're using sbt-shading though, that is pulled in |
ac244a8
to
8034b75
Compare
efc4066
to
bc720c5
Compare
Thanks a lot for the help @alexarchambault ! I ended up installing the regular sbt-extras as |
GitHub Actions (https://github.com/features/actions) offer a promising alternative to Travis CI. This PR sets up automatic CI releases for this build via GitHub Actions so that we can disable the Travis CI.