Skip to content

[release] wip on release code #460

[release] wip on release code

[release] wip on release code #460

Workflow file for this run

name: Java CI
on:
push:
branches: [ development, master ]
paths-ignore:
- "docs/**"
pull_request:
branches: [ development ]
jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4.2.2
- name: Set up JDK 21
uses: actions/setup-java@v4.5.0
with:
distribution: 'zulu'
java-version: 21
- name: Cache Maven packages
uses: actions/cache@v4.1.2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: xvfb-run mvn package
- name: Run Sonar analysis
run: xvfb-run mvn -Dsonar.login=${{ secrets.SONAR_LOGIN }} jacoco:prepare-agent install jacoco:report org.sonarsource.scanner.maven:sonar-maven-plugin:RELEASE:sonar