{"repo":"sbt/setup-sbt","free":true,"listed":false,"github":"https://github.com/sbt/setup-sbt","clone":"git clone https://github.com/sbt/setup-sbt.git","description":"setup-sbt installs the official sbt runner","language":"Scala","stars":36,"topics":["github-actions","sbt","scala"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Setup sbt ========= This action enables sbt runner from GitHub Actions. Usage ----- Here's an example usage of setup-sbt action. uses: sbt/setup-sbt@v1 makes sbt available on Linux, macOS, and Windows. Setting the runner version The sbt runner is typically compatible with all modern sbt releases. In the future, the launcher distributed by sbt 2.x may require JDK 17. You can pin the sbt runner back to sbt 1.x to run JDK 8: Opting out of disk cache By default setup-sbt enables the disk cache on sbt 2.x. This can be opted out as follows: Why is this GitHub Action needed? --------------------------------- The runner images on GitHub Action had long included sbt runner script. The initial commit on actions/runner-images contains images/linux/scripts/installers/sbt.sh May 2024 However, the situation has changed in May 2024 when GitHub released the runner image for macos-13 and macos-14 , users noticed that they were missing the sbt runner script. actions/runner-images#9369 and actions/runner-images#9837 confirmed that this was intentional: Thank you for such detail request. But currently we have no plans to add sbt on macOS-13 / macOS-14 . Since GitHub Actions are extensible, we thought this providing a setup action would be convenient way to enable sbt again on all runner images. December 2024 The situation changed again in December 2024 when GitHub dropped sbt from ubuntu-latest . So now this same action is needed for Ubuntu-based builds, too. License ------- The scripts and docu","default_branch":null,"files":null,"tree":[],"storefront":"/r/sbt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sbt/setup-sbt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}