diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea04cfd..1d09dcf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,9 +24,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 }}" + java-version: "${{ matrix.java }}" + distribution: adopt - name: Coursier cache uses: coursier/cache-action@v6 - name: Build and test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 04474f1..07da394 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,9 +14,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.8" + java-version: "8" + distribution: adopt - name: Coursier cache uses: coursier/cache-action@v5 - name: Test