Skip to content

Commit a2ab79c

Browse files
committed
Update GH Actions to build with Java 16
1 parent 5cb4f34 commit a2ab79c

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ jobs:
3535
- name: Checkout repository
3636
uses: actions/checkout@v2
3737

38+
# Setup Java
39+
- name: Set up JDK
40+
uses: actions/setup-java@v2.3.0
41+
with:
42+
distribution: 'adopt'
43+
# Use Java 16, because it's minimum required version by Geyser
44+
java-version: 16
45+
cache: 'maven'
46+
3847
# Initializes the CodeQL tools for scanning.
3948
- name: Initialize CodeQL
4049
uses: github/codeql-action/init@v1

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
uses: actions/setup-java@v2.3.0
3232
with:
3333
distribution: 'adopt'
34-
# Use Java 11, because it's minimum required version
35-
java-version: 11
34+
# Use Java 16, because it's minimum required version by Geyser
35+
java-version: 16
3636
cache: 'maven'
3737

3838
# Build and test (included in package)

0 commit comments

Comments
 (0)