From b1efcb94db18d75a981f22b444c36ed283400849 Mon Sep 17 00:00:00 2001 From: Qingtian Wang <14980208+q3769@users.noreply.github.com> Date: Sun, 15 Oct 2023 11:09:18 -0500 Subject: [PATCH] Update maven.yml --- .github/workflows/maven.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 8419e10..5fb6122 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -21,15 +21,12 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 11 + - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: '11' - distribution: 'temurin' + java-version: '21' + distribution: 'corretto' cache: maven - name: Build with Maven run: mvn -B package --file pom.xml - - # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive - - name: Maven Dependency Tree Dependency Submission - uses: advanced-security/maven-dependency-submission-action@v3.0.2 +