Skip to content

Commit

Permalink
CI: add java 11 test
Browse files Browse the repository at this point in the history
  • Loading branch information
jgribonvald authored Oct 13, 2022
1 parent 4bcf963 commit 5a3110e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,23 @@ on:

jobs:
test:
name: '${{ matrix.platform }} with Java 8'
name: '${{ matrix.platform }} with Java ${{ matrix.java }}'
strategy:
matrix:
platform:
- ubuntu-latest
- windows-latest
- macos-latest
java: [ '8', '11' ]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: adopt-hotspot
java-version: 8
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build and Test
run: mvn -B package

0 comments on commit 5a3110e

Please sign in to comment.