From 29a0a239d3c08c17405ed07b900f98f1b298b88c Mon Sep 17 00:00:00 2001 From: Michael Liao Date: Fri, 22 Dec 2023 16:57:32 +0800 Subject: [PATCH] update workflow to jdk 21. --- .github/workflows/maven.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 01c104d..d76fe73 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -25,11 +25,11 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: - java-version: '17' - distribution: 'temurin' + java-version: '21' + distribution: 'oracle' cache: maven - name: Build with Maven run: mvn -B package --file pom.xml