Merge pull request #61 from purecloudlabs/python-fix-regex-pattern #73
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: Sonar CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - '[4-9]+.[0-9]+.x' | |
| - sonar | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| if: ${{ github.repository_owner == 'OpenAPITools' }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 11 | |
| - name: Compile with Maven | |
| run: mvn -B -q clean install jacoco:report | |
| - name: Jacoco Aggregate | |
| run: mvn jacoco:report-aggregate | |
| - name: Publish to Sonar | |
| run: mvn -B -q -nsu sonar:sonar -Dsonar.projectKey=OpenAPITools_openapi-generator -Dsonar.organization=openapitools -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${{ secrets.SONAR_LOGIN }} -Dsonar.branch.name=${GITHUB_REF##*/} |