Skip to content

Update java version for workflow #257

Update java version for workflow

Update java version for workflow #257

Workflow file for this run

name: verify
on: [push, pull_request]
jobs:
verify:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.9.4
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Maven verify
run: mvn -B verify -Prun-its
- uses: actions/upload-artifact@v3
if: failure()
with:
name: ${{ runner.os }}-it-build-logs
path: target/it/*/*.log