summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYichen Yan <oraluben@outlook.com>2023-11-01 20:51:42 +0800
committerDibyendu Majumdar <dibyendumajumdar@users.noreply.github.com>2023-11-01 18:56:50 +0000
commit3cad2b3c0af2418d51bb1ee46b1e24c5b362ba63 (patch)
tree047e860f88dcb2896d3782c44460338f44879acf /.github
parent906241d5257f99b9c7de2da5340f5a59c2fb688d (diff)
downloadSimple-3cad2b3c0af2418d51bb1ee46b1e24c5b362ba63.tar.gz
Simple-3cad2b3c0af2418d51bb1ee46b1e24c5b362ba63.zip
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>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/maven.yml7
1 files changed, 4 insertions, 3 deletions
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