From 09d467e0274ff75254e832153b84e4506fe00a38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Doeraene?= Date: Mon, 4 Aug 2025 10:10:55 +0200 Subject: [PATCH] Use coursier/setup-action instead of setup-java in GitHub Actions. setup-java does not install sbt anymore. --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7dcfafc..b1b4f40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,11 +23,10 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: coursier/setup-action@v1 with: - distribution: 'adopt' - java-version: ${{ matrix.java }} - cache: 'sbt' + jvm: temurin:1.${{ matrix.java }} + apps: sbt - name: Cache dependencies uses: actions/cache@v3