diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a9303400..1dcd7bcf 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -29,3 +29,11 @@ jobs: cache: maven - name: Build with Maven run: mvn -B -Popendj package --file pom.xml + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B -Popendj package --file pom.xml