Skip to content

Commit

Permalink
Matrix build for supported LTS versions
Browse files Browse the repository at this point in the history
  • Loading branch information
brrritssocold committed Nov 19, 2023
1 parent 46a2934 commit 96ffc40
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:

runs-on: ubuntu-latest

strategy:
matrix:
java-version: [ 17 , 21]

steps:
- uses: actions/checkout@v4

Expand All @@ -27,7 +31,7 @@ jobs:
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: ${{ matrix.java-version }}
distribution: 'adopt'
- name: Build with Maven
run: mvn -B package --file pom.xml
Expand Down

0 comments on commit 96ffc40

Please sign in to comment.