From 3cad2b3c0af2418d51bb1ee46b1e24c5b362ba63 Mon Sep 17 00:00:00 2001 From: Yichen Yan Date: Wed, 1 Nov 2023 20:51:42 +0800 Subject: Update JDK to 21 (#26) * Backport fix for set_def killing new_def (#21) * Use JDK 21 * Remove duplicate field in pom * Enable GA test for pull requests --------- Co-authored-by: XmiliaH <45106915+XmiliaH@users.noreply.github.com> --- .github/workflows/maven.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 7f25a193..b810104b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,6 +1,6 @@ name: Java CI with Maven -on: [push] +on: [ push, pull_request ] jobs: test: @@ -9,10 +9,11 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 20 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: - java-version: '20' + java-version: '21' distribution: 'temurin' + cache: 'maven' - name: Build with Maven run: mvn --batch-mode --update-snapshots verify \ No newline at end of file -- cgit v1.2.3