Skip to content

Commit

Permalink
Use the setup-sbt action (#2496)
Browse files Browse the repository at this point in the history
Fixes the build. It turns out SBT isn't available in the latest ubuntu image:
actions/setup-java#694 so we've had failures: sbt: command not found.
  • Loading branch information
tjmw authored Oct 14, 2024
1 parent 8259474 commit 2fc99e7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci-scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ jobs:
java-version: '21'
cache: 'sbt'

- name: Setup SBT
uses: sbt/setup-sbt@v1

- name: Run tests and build subproject JAR
run: sbt "project ${{ matrix.subproject }}" test assembly

Expand Down Expand Up @@ -121,6 +124,9 @@ jobs:
java-version: '21'
cache: 'sbt'

- name: Setup SBT
uses: sbt/setup-sbt@v1

- name: Build
run: |
LAST_TEAMCITY_BUILD=6410
Expand Down

0 comments on commit 2fc99e7

Please sign in to comment.