diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 000000000..5680893d7 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,22 @@ +# This workflow will build a Java project with Maven +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven + +name: build + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + java-version: [ 8, 11, 15 ] + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v2 + with: + distribution: 'adopt' + java-version: ${{ matrix.java-version }} + - run: mvn -B install --no-transfer-progress --file pom.xml