From 23bdf9a0165004cc223cc546aa9c80bbe68cebde Mon Sep 17 00:00:00 2001 From: kenji yoshida <6b656e6a69@gmail.com> Date: Tue, 3 Oct 2023 17:17:12 +0900 Subject: [PATCH] use setup-java instead of setup-scala --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc5ef6a..b3b194d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,9 +17,10 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Setup - uses: olafurpg/setup-scala@v10 + uses: actions/setup-java@v3 with: - java-version: "adopt@1.${{ matrix.java }}" + distribution: adopt + java-version: ${{ matrix.java }} - name: Coursier cache uses: coursier/cache-action@v5 - name: Build and test