maven.yml 425 B

1234567891011121314151617181920212223
  1. name: Java CI
  2. on:
  3. push:
  4. branches: [ "master" ]
  5. pull_request:
  6. branches: [ "master" ]
  7. jobs:
  8. build:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v4
  12. - name: Set up JDK 17
  13. uses: actions/setup-java@v4
  14. with:
  15. java-version: '17'
  16. distribution: 'temurin'
  17. cache: maven
  18. - name: Build with Maven
  19. run: mvn -B package --file pom.xml