Skip to content

Commit

Permalink
Run CI on multiple Java versions
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlwilson committed Nov 26, 2024
1 parent 360380d commit 687c36c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,19 @@ on:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
java_version: [ '8', '11', '17', '21' ]
fail-fast: false

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

0 comments on commit 687c36c

Please sign in to comment.