Skip to content

Commit

Permalink
Java version in github-actions increased (#518)
Browse files Browse the repository at this point in the history
* Java version in github-actions increased

Signed-off-by: David Kral <david.k.kral@oracle.com>
  • Loading branch information
Verdent committed Oct 19, 2021
1 parent 835f71f commit 67fb4d2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

strategy:
matrix:
java_version: [ 11, 16 ]
java_version: [ 11, 17 ]

steps:
- name: Checkout for build
Expand All @@ -30,9 +30,9 @@ jobs:
fetch-depth: 0
- name: Set up compile JDK
uses: actions/setup-java@v2
with:
with: #Compile java needs to be the highest to ensure proper compilation of the multi-release jar
distribution: 'adopt'
java-version: 16
java-version: 17
- name: Maven cache
uses: actions/cache@v2
env:
Expand All @@ -41,10 +41,10 @@ jobs:
path:
~/.m2
key: build-${{ env.cache-name }}
- name: Checkstyle
run: mvn -B -Pstaging checkstyle:checkstyle
- name: Copyright
run: bash etc/copyright.sh
- name: Checkstyle
run: mvn -B -Pstaging checkstyle:checkstyle
- name: Yasson install
run: mvn -U -C -Pstaging clean install -DskipTests
- name: Set up JDK for tests
Expand Down

0 comments on commit 67fb4d2

Please sign in to comment.