Skip to content

Commit

Permalink
Test on java 11 and 17
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsteiner1984 committed Jan 22, 2024
1 parent f8d3f20 commit acd7798
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,20 @@ on:

jobs:
build:

runs-on: ubuntu-latest
name: Test with Java ${{ matrix.jdk }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
jdk: ['8', '11', '17']
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v3
with:
java-version: '8'
java-version: ${{ matrix.jdk }}
distribution: 'temurin'
cache: maven
- name: Build with Maven
Expand Down

0 comments on commit acd7798

Please sign in to comment.