This repository was archived by the owner on Nov 13, 2025. It is now read-only.
Migrate to Central Portal #2520
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| schedule: | |
| - cron: "0 6 * * *" | |
| env: | |
| # https://github.com/actions/virtual-environments/issues/1499#issuecomment-689467080 | |
| MAVEN_OPTS: >- | |
| -Dhttp.keepAlive=false | |
| -Dmaven.wagon.http.pool=false | |
| -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v1 | |
| - name: Cache | |
| uses: actions/cache@v1 | |
| with: | |
| path: ~/.m2 | |
| key: m2 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: 1.8 | |
| - name: Compile | |
| run: ./mvnw clean test-compile -B | |
| - name: Test | |
| run: ./mvnw verify -P "${{ matrix.profile }}" -B | |
| - name: Coverage | |
| if: github.event_name != 'pull_request' | |
| run: ./mvnw coveralls:report -B -D repoToken=${{ secrets.COVERALLS_TOKEN }} |