Skip to content

Commit

Permalink
ci: java matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
sullis committed Mar 26, 2024
1 parent bc28ab1 commit e6554fc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,17 @@ on:

jobs:
build:

strategy:
matrix:
java: [ '17', '21' ]
runs-on: ubuntu-latest

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

0 comments on commit e6554fc

Please sign in to comment.