diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 2d2e031..5bb04da 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -24,11 +24,16 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set up JDK 21 - uses: actions/setup-java@v4 # https://github.com/actions/setup-java + # TODO: Switch back to actions/setup-java@v4 once they support JDK 22 for temurin + #uses: actions/setup-java@v4 # https://github.com/actions/setup-java + #with: + # java-version: '21' + # distribution: 'temurin' + # cache: maven + uses: oracle-actions/setup-java@v1 # https://github.com/oracle-actions/setup-java with: - java-version: '21' - distribution: 'temurin' - cache: maven + website: jdk.java.net + release: 22 - name: Verify and Package with Maven run: ./mvnw --batch-mode --file pom.xml verify package