Skip to content

Commit 05ed627

Browse files
committed
build: common out SonarCloud since SonarQubeAnalysisConfig.xml is missing
1 parent 2ce0ad4 commit 05ed627

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/post-integration.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
with:
3636
dotnet-version: "9.0.x"
3737

38-
- name: ⚙️ Set up JDK 17
39-
uses: actions/setup-java@v3
40-
with:
41-
java-version: 17
42-
distribution: "zulu"
38+
# - name: ⚙️ Set up JDK 17
39+
# uses: actions/setup-java@v3
40+
# with:
41+
# java-version: 17
42+
# distribution: "zulu"
4343

4444
- name: 🧹 Clean
4545
run: dotnet clean -c Release && dotnet nuget locals all --clear
@@ -53,18 +53,18 @@ jobs:
5353
- name: 🧪 Run unit tests
5454
run: dotnet test -c Release --no-build --filter "Category!=Integration"
5555

56-
- name: 🌩️ SonarCloud install scanner
57-
run: dotnet tool install --global dotnet-sonarscanner
58-
59-
- name: 🌩️ SonarCloud analyze
60-
env:
61-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
63-
shell: pwsh
64-
run: |
65-
dotnet sonarscanner begin /k:"atc-rest-api-generator" /o:"atc-net" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
66-
dotnet build -c Release /p:UseSourceLink=true --no-restore
67-
dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
56+
# - name: 🌩️ SonarCloud install scanner
57+
# run: dotnet tool install --global dotnet-sonarscanner
58+
59+
# - name: 🌩️ SonarCloud analyze
60+
# env:
61+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62+
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
63+
# shell: pwsh
64+
# run: |
65+
# dotnet sonarscanner begin /k:"atc-rest-api-generator" /o:"atc-net" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
66+
# dotnet build -c Release /p:UseSourceLink=true --no-restore
67+
# dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
6868

6969
- name: ⏩ Merge to stable-branch
7070
run: |

0 commit comments

Comments
 (0)