You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

maven.yml 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Quickstart for GitHub Actions
  2. # https://docs.github.com/en/actions/quickstart
  3. #
  4. # For more information about the workflow to build a Java project with Maven, see:
  5. # https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
  6. name: Java CI with Maven
  7. on:
  8. push:
  9. branches: [ master ]
  10. pull_request:
  11. branches: [ master ]
  12. # https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow
  13. workflow_dispatch:
  14. jobs:
  15. build:
  16. runs-on: ubuntu-latest
  17. timeout-minutes: 20
  18. name: CI with multiply java versions
  19. steps:
  20. - uses: actions/checkout@v4
  21. - name: Set up multiply java versions
  22. uses: actions/setup-java@v4
  23. with:
  24. # https://github.com/actions/setup-java?tab=readme-ov-file#install-multiple-jdks
  25. #
  26. # CAUTION:
  27. # do NOT move specified old version `11.0.3` before version `11`,
  28. # or the version `11.0.3` will not be installed!
  29. # because the old version 11.0.3 satisfies the version 11.
  30. java-version: |
  31. 8
  32. 11
  33. 11.0.3
  34. 17
  35. 21
  36. distribution: zulu
  37. cache: maven
  38. - name: Run integration test with multiply java versions
  39. run: scripts/integration-test.sh