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