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.
33 lines
769 B
33 lines
769 B
# This workflow will build a Java project with Maven |
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven |
|
|
|
name: Build |
|
|
|
on: |
|
push: |
|
branches: [ 3.1.x ] |
|
pull_request: |
|
branches: [ 3.1.x ] |
|
|
|
jobs: |
|
build: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
strategy: |
|
matrix: |
|
java: ["8"] |
|
|
|
steps: |
|
- uses: actions/checkout@v2 |
|
- name: Set up JDK ${{ matrix.java }} |
|
uses: actions/setup-java@v2 |
|
with: |
|
distribution: 'zulu' |
|
java-version: ${{ matrix.java }} |
|
cache: 'maven' |
|
- name: Build with Maven |
|
run: ./mvnw clean install -B -U -P sonar |
|
- uses: codecov/codecov-action@v1 |
|
with: |
|
fail_ci_if_error: true
|
|
|