pr-build-workflow.yml 537 B

12345678910111213141516171819202122232425
  1. name: PR build
  2. on:
  3. pull_request:
  4. branches:
  5. - '**'
  6. jobs:
  7. build:
  8. name: Build
  9. runs-on: ${{ matrix.os }}
  10. strategy:
  11. matrix:
  12. os: [ubuntu-latest, windows-latest]
  13. jdk: [17]
  14. fail-fast: false
  15. steps:
  16. - uses: actions/checkout@v3
  17. - name: Set up JDK ${{ matrix.jdk }}
  18. uses: spring-io/spring-gradle-build-action@v2
  19. with:
  20. java-version: ${{ matrix.jdk }}
  21. distribution: 'temurin'
  22. - name: Build with Gradle
  23. run: ./gradlew clean build