build.yaml 525 B

1234567891011121314151617181920212223242526272829303132
  1. name: Build Maven artifacts
  2. on:
  3. push:
  4. branches-ignore:
  5. - 'main'
  6. - '7.2.*'
  7. - '7.3.*'
  8. pull_request:
  9. branches:
  10. - 'main'
  11. jobs:
  12. build:
  13. name: Build and test
  14. runs-on: ubuntu-latest
  15. steps:
  16. - name: Checkout sources
  17. uses: actions/checkout@v3
  18. - name: Set up JDK 17
  19. uses: actions/setup-java@v3
  20. with:
  21. distribution: 'temurin'
  22. java-version: '17'
  23. cache: 'maven'
  24. - name: Build with Maven
  25. run: ./mvnw -B verify --file pom.xml