You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

maven.yml 711B

12345678910111213141516171819202122232425262728
  1. # This workflow will build a Java project with Maven
  2. # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
  3. name: Java CI with Maven
  4. on:
  5. push:
  6. branches: [ master ]
  7. pull_request:
  8. branches: [ master ]
  9. jobs:
  10. build:
  11. runs-on: ubuntu-latest
  12. strategy:
  13. matrix:
  14. os: [ ubuntu-latest ]
  15. java-version: [ 11.0.3, 11 ]
  16. steps:
  17. - uses: actions/checkout@v2
  18. - name: Set up JDK ${{ matrix.java-version }}
  19. uses: actions/setup-java@v2
  20. with:
  21. java-version: ${{ matrix.java-version }}
  22. distribution: 'zulu'
  23. - name: Build with Maven
  24. run: mvn -B package --file pom.xml