maven.yml 414 B

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