maven.yml 540 B

12345678910111213141516171819202122232425
  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. steps:
  13. - uses: actions/checkout@v2
  14. - name: Set up JDK 11
  15. uses: actions/setup-java@v1
  16. with:
  17. java-version: 11
  18. - name: Build with Maven
  19. run: mvn -B package --file pom.xml