Skip to content

[ACC-1443] Prepare for publication to maven central #9

[ACC-1443] Prepare for publication to maven central

[ACC-1443] Prepare for publication to maven central #9

Workflow file for this run

name: build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
cache: 'gradle'
- name: Build and Test
run: ./gradlew check --info
- name: Sonar Analysis
run: ./gradlew jacocoTestReport sonar --info
if: env.SONAR_TOKEN != null
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}