diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 81358a52..0357beb7 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -29,7 +29,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - java: [11,17] + java: [11,17,21] fail-fast: false runs-on: ${{ matrix.os }} @@ -41,7 +41,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - distribution: adopt + distribution: temurin java-version: ${{ matrix.java }} cache: 'maven'