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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Licensed to the Apache Software Foundation (ASF) under one
  2. # or more contributor license agreements. See the NOTICE file
  3. # distributed with this work for additional information
  4. # regarding copyright ownership. The ASF licenses this file
  5. # to you under the Apache License, Version 2.0 (the
  6. # "License"); you may not use this file except in compliance
  7. # with the License. You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing,
  12. # software distributed under the License is distributed on an
  13. # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  14. # KIND, either express or implied. See the License for the
  15. # specific language governing permissions and limitations
  16. # under the License.
  17. name: GitHub CI
  18. on:
  19. push:
  20. pull_request:
  21. jobs:
  22. build:
  23. strategy:
  24. matrix:
  25. os: [ubuntu-latest]
  26. java: [11, 17]
  27. fail-fast: false
  28. runs-on: ${{ matrix.os }}
  29. steps:
  30. - name: Checkout
  31. uses: actions/checkout@v3
  32. - name: Set up JDK
  33. uses: actions/setup-java@v3.4.1
  34. with:
  35. distribution: temurin
  36. java-version: ${{ matrix.java }}
  37. cache: 'maven'
  38. - name: Build with Maven
  39. run: mvn -e -B -V install -Pci-build -T2