Skip to content

Commit

Permalink
Added Matrix build
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed May 24, 2024
1 parent 2d573c6 commit 2adc695
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,17 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '11', '17', '21' ]
name: Java ${{ matrix.Java }} build

steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
- name: Set up JDK ${{ matrix.Java }}
uses: actions/setup-java@v4
with:
java-version: '11'
java-version: ${{ matrix.Java }}
distribution: 'adopt'
server-id: ossrh
server-username: MAVEN_USERNAME
Expand Down

0 comments on commit 2adc695

Please sign in to comment.