Skip to content

Commit 1da610c

Browse files
sksamuelclaude
andauthored
Install sbt via coursier in build workflow (#910)
The ubuntu-latest runner image no longer pre-installs sbt, causing "sbt: command not found" failures. Replace the JDK setup with coursier/setup-action which installs both the JVM and sbt — mirroring the approach already used by release_40x.yml on master. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e5bd797 commit 1da610c

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ jobs:
2020
with:
2121
fetch-depth: 0
2222

23-
- name: Set up JDK
24-
uses: actions/setup-java@v1
23+
- name: Set up SBT
24+
uses: coursier/setup-action@v1
2525
with:
26-
java-version: 11
26+
apps: sbt
27+
jvm: temurin:11
2728

2829
- name: Import GPG key
2930
id: import_gpg
@@ -56,10 +57,11 @@ jobs:
5657
with:
5758
fetch-depth: 0
5859

59-
- name: Set up JDK
60-
uses: actions/setup-java@v1
60+
- name: Set up SBT
61+
uses: coursier/setup-action@v1
6162
with:
62-
java-version: 11
63+
apps: sbt
64+
jvm: temurin:11
6365

6466
- name: Import GPG key
6567
id: import_gpg

0 commit comments

Comments
 (0)