Skip to content

Commit f8c349a

Browse files
committed
Disable SonarQube integration in snapshot workflow
1 parent ab35fac commit f8c349a

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

.github/workflows/snapshots.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,27 @@ jobs:
2525
java-version: '17'
2626
cache: 'maven'
2727

28-
- name: Cache SonarQube packages
29-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
30-
with:
31-
path: ~/.sonar/cache
32-
key: ${{ runner.os }}-sonar
33-
restore-keys: ${{ runner.os }}-sonar
28+
# - name: Cache SonarQube packages
29+
# uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
30+
# with:
31+
# path: ~/.sonar/cache
32+
# key: ${{ runner.os }}-sonar
33+
# restore-keys: ${{ runner.os }}-sonar
3434

35+
# - name: Build with Maven
36+
# run: |
37+
# ./mvnw -B --no-transfer-progress \
38+
# -Dsonar.organization=iromu \
39+
# -Dsonar.host.url=https://sonarcloud.io \
40+
# -Dsonar.projectKey=iromu_spring-boot-openfeature \
41+
# clean verify \
42+
# org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -P sonar
43+
# env:
44+
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
3545
- name: Build with Maven
3646
run: |
3747
./mvnw -B --no-transfer-progress \
38-
-Dsonar.organization=iromu \
39-
-Dsonar.host.url=https://sonarcloud.io \
40-
-Dsonar.projectKey=iromu_spring-boot-openfeature \
41-
clean verify \
42-
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -P sonar
43-
env:
44-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
48+
clean verify
4549
4650
- name: Jacoco Artifacts
4751
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0

0 commit comments

Comments
 (0)