Skip to content

Commit

Permalink
setup-java v4
Browse files Browse the repository at this point in the history
  • Loading branch information
sullis authored and Verdent committed Apr 15, 2024
1 parent db56a3b commit 2f0ad11
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,11 @@ jobs:
with:
fetch-depth: 0
- name: Set up compile JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with: #Compile java needs to be the highest to ensure proper compilation of the multi-release jar
distribution: 'adopt'
distribution: 'temurin'
java-version: 17
- name: Maven cache
uses: actions/cache@v2
env:
cache-name: maven-cache
with:
path:
~/.m2
key: build-${{ env.cache-name }}
cache: 'maven'
- name: Copyright
run: bash etc/copyright.sh
- name: Checkstyle
Expand All @@ -49,10 +42,11 @@ jobs:
# run: mvn -U -C -Pstaging clean install -DskipTests
run: mvn -U -C clean install -DskipTests
- name: Set up JDK for tests
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: 'adopt'
distribution: 'temurin'
java-version: ${{ matrix.java_version }}
cache: 'maven'
- name: Yasson tests
run: mvn -U -B -C -Dmaven.javadoc.skip=true -Pstaging verify
- name: JSONB-API TCK
Expand Down

0 comments on commit 2f0ad11

Please sign in to comment.