diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 589994ed4..c5b58df0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,13 +14,20 @@ jobs: include: - os: windows jvm: 17 + - jvm: 21 + jvm_url: https://download.java.net/java/early_access/jdk21/29/GPL/openjdk-21-ea+29_linux-x64_bin.tar.gz name: ${{ matrix.os }} / JDK${{ matrix.jvm }} runs-on: ${{ matrix.os }}-latest steps: - uses: actions/checkout@v3 - - uses: coursier/setup-action@v1 + - if: ${{ matrix.jvm_url != '' }} + uses: coursier/setup-action@v1 + with: + jvm: ${{ matrix.jvm_url }} + - if: ${{ matrix.jvm_url == '' }} + uses: coursier/setup-action@v1 with: - jvm: temurin:${{ matrix.jvm }} + jvm: temurin:${{ matrix.jvm }} - if: ${{ matrix.os != 'windows' }} run: sbt test - if: ${{ matrix.os == 'windows' }}