Switch from Sonatype OSSRH to Sonatype Central #128
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
| # Build validation | |
| name: Build | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| java: [11, 17, 21] | |
| os: [ubuntu-latest] | |
| distribution: [temurin] | |
| include: | |
| - java: 11 | |
| os: windows-latest | |
| distribution: temurin | |
| - java: 11 | |
| os: macos-latest | |
| distribution: temurin | |
| steps: | |
| - name: Maven Build with SonarCloud | |
| uses: wcm-io-devops/github-action-maven-build-sonar@v1 | |
| with: | |
| os: ${{ matrix.os }} | |
| java-version: ${{ matrix.java }} | |
| maven-executable: ./mvnw | |
| sonar-run-on-os: ubuntu-latest | |
| sonar-run-on-java-version: 21 | |
| sonar-token: ${{ secrets.SONAR_TOKEN }} | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| # Output error details when maven invoker IT fails | |
| maven-additional-args: -D"invoker.streamLogsOnFailures=true" |