Skip to content

Commit e5c35e5

Browse files
committed
Install sbt in GitHub workflows
1 parent e073d43 commit e5c35e5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
with:
2828
java-version: 11
2929
distribution: adopt
30+
- name: Install sbt
31+
uses: sbt/setup-sbt@v1
3032
- name: Prepare test environment
3133
run: $GITHUB_WORKSPACE/.github/start_environment.sh
3234
- name: Run tests
@@ -54,6 +56,8 @@ jobs:
5456
java-version: 11
5557
distribution: adopt
5658

59+
- name: Install sbt
60+
uses: sbt/setup-sbt@v1
5761

5862
- name: Build artifacts
5963
run: sbt 'project elasticsearch' assembly
@@ -84,6 +88,9 @@ jobs:
8488

8589
- uses: coursier/cache-action@v6
8690

91+
- name: Install sbt
92+
uses: sbt/setup-sbt@v1
93+
8794
- name: Stage the Docker build
8895
run: sbt "project elasticsearch" docker:stage
8996

0 commit comments

Comments
 (0)