-
Notifications
You must be signed in to change notification settings - Fork 744
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
setup-java@v4
setup for sbt failing on macOS with line 1: sbt: command not found
#627
Comments
Hello @Christewart |
I also encountered the same problem, only for macOS. |
|
…install sbt (#5555) * Try 'brew install sbt' as workaround to actions/setup-java#627 * Try downgrading github ci runner for mac to get a intel mac build * Fix intel mac bitcoind download hashes * Revert macOS CI runner
* Try to fix release build to workaround actions/setup-java#627 * try to fix os name * Revert triggers
Also experiencing the same issue |
SBT is not included in the macOS 13 and macOS 14 Github Hosted Runner. Please refer to this source for confirmation.
This will install SBT on the runner for the duration of the workflow. |
Ran into the same problem, switched to |
The GitHub Actions macOS 13 and 14 runner images do not come with preinstalled
More details can be found here as well: IMHO this issue can be closed, because it's not the fault of the setup-java actions. |
Hello @Christewart, as previously noted, setup-java is functioning properly. The issue has surfaced due to modifications with the macos-13 and 14 runners. We recommend applying the solution we provided to resolve your issue. We're moving forward with closing this issue, but please feel free to contact us if you face any other challenges. |
I've created sbt/setup-sbt to workaround this - https://eed3si9n.com/setup-sbt/. |
This was removed from setup_java: actions/setup-java#627
This seemingly broke overnight, i'm attempting to setup the build with this
and the build is failing with
You can see the PR here: bitcoin-s/bitcoin-s#5546
Direct link to a failed build: https://github.com/bitcoin-s/bitcoin-s/actions/runs/8838483817/job/24269887223?pr=5546
EDIT: Note, this only fails on mac builds, linux builds are fine with this setup.
The text was updated successfully, but these errors were encountered: