Move from Java 16 to Java 17 (#149)

* Move from Java 16 to Java 17

* Update java17-maven.yml
This commit is contained in:
Ryan 2021-10-03 15:57:47 +01:00 committed by GitHub
parent 4c287ca9b8
commit 4d469cdc0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,9 @@
name: Java16-Maven-Build name: Java17-Maven-Build
on: [push] on: [push]
jobs: jobs:
build-java-16: build-java-17:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -12,10 +12,10 @@ jobs:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
# Java 16 Builds # Java 16 Builds
- name: Set up JDK 16 - name: Set up JDK 17
uses: actions/setup-java@v2.3.0 uses: actions/setup-java@v2.3.0
with: with:
java-version: 16 java-version: 17
distribution: 'adopt' distribution: 'adopt'
- name: Build with Maven - name: Build with Maven
run: mvn -B package --file pom.xml run: mvn -B package --file pom.xml