Try brew install sbt as workaround for macOS Ci runners failing to install sbt (#5555)

* Try 'brew install sbt' as workaround to https://github.com/actions/setup-java/issues/627

* Try downgrading github ci runner for mac to get a intel mac build

* Fix intel mac bitcoind download hashes

* Revert macOS CI runner
This commit is contained in:
Chris Stewart 2024-04-29 10:01:59 -05:00 committed by GitHub
parent 6543b261c4
commit 2102e4d682
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 2 deletions

View file

@ -21,6 +21,8 @@ jobs:
distribution: 'adopt'
java-version: '21'
cache: 'sbt'
- name: install sbt as workaround https://github.com/actions/setup-java/issues/627
run: brew install sbt
- name: Cache
uses: actions/cache@v3
with:

View file

@ -21,6 +21,8 @@ jobs:
distribution: 'adopt'
java-version: '21'
cache: 'sbt'
- name: install sbt as workaround https://github.com/actions/setup-java/issues/627
run: brew install sbt
- name: Cache
uses: actions/cache@v3
with:

View file

@ -21,6 +21,8 @@ jobs:
distribution: 'adopt'
java-version: '21'
cache: 'sbt'
- name: install sbt as workaround https://github.com/actions/setup-java/issues/627
run: brew install sbt
- name: Cache
uses: actions/cache@v3
with:

View file

@ -107,11 +107,11 @@ TaskKeys.downloadBitcoind := {
"26.1" -> (if (System.getProperty("os.arch") == "aarch64")
"8a8e415763b7ffd5988153cf03967d812eca629016dd3b0ddf6da3ab6f4a3621"
else
""),
"acb50edd20692a9d023de12da573b64ca0fd9b4e9a2b88d1251020a3022b0f27"),
"27.0" -> (if (System.getProperty("os.arch") == "aarch64")
"1d9d9b837297a73fc7a3b1cfed376644e3fa25c4e1672fbc143d5946cb52431d"
else
"")
"e1efd8c4605b2aabc876da93b6eee2bedd868ce7d1f02b0220c1001f903b3e2c")
)
else if (Properties.isWin)
Map(