Skip to content

Commit

Permalink
Matrix build
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Mar 29, 2024
1 parent 84cf3ec commit fee18f6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,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 fee18f6

Please sign in to comment.