Skip to content

Commit

Permalink
Attempt to fix sonar build on 11
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDrivenMitch committed Apr 20, 2022
1 parent 1132bc5 commit c8887ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,7 @@ jobs:
- name: Sonar Analysis
if: matrix.sonar-enabled
run: |
./mvnw -B sonar:sonar \
-Dsonar.projectKey=AxonFramework_extension-tracing \
-Dsonar.organization=axonframework \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
./mvnw -B sonar:sonar -Dsonar.projectKey=AxonFramework_extension-tracing -Dsonar.organization=axonframework -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${{ secrets.SONAR_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ jobs:
- name: Sonar Analysis
if: ${{ success() && matrix.sonar-enabled && github.event.pull_request.head.repo.full_name == github.repository }}
run: |
./mvnw -B sonar:sonar \
-Dsonar.projectKey=AxonFramework_extension-tracing \
-Dsonar.organization=axonframework \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
./mvnw -B sonar:sonar -Dsonar.projectKey=AxonFramework_extension-tracing -Dsonar.organization=axonframework -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${{ secrets.SONAR_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c8887ac

Please sign in to comment.