Merge branch 'master' into dependabot/maven/org.sonarsource.scanner.m… #1374
Workflow file for this run
This file contains 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: Java CI | |
on: [ push ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ 17, 19 ] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Cache Maven Repo | |
id: cache-maven-repo | |
uses: actions/cache@v1 | |
with: | |
path: /home/runner/.m2/repository | |
key: ${{ runner.os }}-maven-repo | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
distribution: adopt | |
java-version: ${{ matrix.java }} | |
- name: Build with Maven | |
run: mvn -B --no-transfer-progress org.jacoco:jacoco-maven-plugin:prepare-agent package -Djava.version=${{ matrix.java }} --file pom.xml --settings settings.xml | |
env: | |
USENAME: ${{github.actor}} | |
PASSWORD: ${{ secrets.GITHUB_TOKEN }} |