mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-30 10:47:33 +02:00
Update GH Actions to build with Java 16
This commit is contained in:
9
.github/workflows/codeql-analysis.yml
vendored
9
.github/workflows/codeql-analysis.yml
vendored
@ -35,6 +35,15 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
# Setup Java
|
||||||
|
- name: Set up JDK
|
||||||
|
uses: actions/setup-java@v2.3.0
|
||||||
|
with:
|
||||||
|
distribution: 'adopt'
|
||||||
|
# Use Java 16, because it's minimum required version by Geyser
|
||||||
|
java-version: 16
|
||||||
|
cache: 'maven'
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v1
|
uses: github/codeql-action/init@v1
|
||||||
|
4
.github/workflows/maven.yml
vendored
4
.github/workflows/maven.yml
vendored
@ -31,8 +31,8 @@ jobs:
|
|||||||
uses: actions/setup-java@v2.3.0
|
uses: actions/setup-java@v2.3.0
|
||||||
with:
|
with:
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
# Use Java 11, because it's minimum required version
|
# Use Java 16, because it's minimum required version by Geyser
|
||||||
java-version: 11
|
java-version: 16
|
||||||
cache: 'maven'
|
cache: 'maven'
|
||||||
|
|
||||||
# Build and test (included in package)
|
# Build and test (included in package)
|
||||||
|
Reference in New Issue
Block a user