Skip to content

Commit

Permalink
Add build and test on multiple Java version on Ubuntu/MacOS/Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lszeremeta committed Mar 20, 2021
1 parent 36ff794 commit 2912686
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 @@ -5,13 +5,17 @@ on: [push, pull_request]
jobs:
build:

runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
java-version: [ 8, 11, 15 ]

steps:
- uses: actions/checkout@v2
- name: Set up JDK
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v1
with:
java-version: 8
java-version: ${{ matrix.java-version }}
- name: Build with Maven
run: mvn -B package --file pom.xml

0 comments on commit 2912686

Please sign in to comment.