Merge pull request #111 from TAMULib/swap-jre-base-image #100
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: [ push, pull_request, workflow_dispatch ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: "Maven Cache" | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-cache-maven-${{ hashFiles('**/pom.xml') }} | |
| - name: "Setup Java" | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: 11 | |
| - name: "Maven Test" | |
| run: mvn clean test jacoco:report coveralls:report -DdryRun=true | |
| - name: "Send to Coveralls (build java-${{ github.run_number }})" | |
| uses: MikeEdgar/github-action@raw_coverage_file | |
| with: | |
| github-token: ${{ secrets.github_token }} | |
| path-to-file: './target/coveralls.json' | |
| coverage-format: raw |