Skip to content

Commit 09d9425

Browse files
committed
ci: fix paths for sonar checks
1 parent f46480a commit 09d9425

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/sdk-platform-java-sonar.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ jobs:
4949
- name: Install modules to local maven
5050
run: |
5151
mvn install -T 1C -DskipTests -ntp -B
52-
cd java-showcase
52+
cd sdk-platform-java/java-showcase
5353
mvn install -T 1C -DskipTests -ntp -B
5454
- name: Parse showcase version
55-
working-directory: java-showcase/gapic-showcase
55+
working-directory: sdk-platform-java/java-showcase/gapic-showcase
5656
run: echo "SHOWCASE_VERSION=$(mvn help:evaluate -Dexpression=gapic-showcase.version -q -DforceStdout)" >> "$GITHUB_ENV"
5757
- name: Install showcase server
5858
run: |
@@ -79,6 +79,7 @@ jobs:
7979
-Dsonar.projectKey=googleapis_gapic-generator-java \
8080
-Dsonar.organization=googleapis \
8181
-Dsonar.host.url=https://sonarcloud.io
82+
working-directory: sdk-platform-java
8283
- name: Build and analyze Showcase Integration Tests Coverage
8384
env:
8485
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
@@ -93,3 +94,4 @@ jobs:
9394
-Dsonar.organization=googleapis \
9495
-Dsonar.host.url=https://sonarcloud.io \
9596
-Dsonar.projectName=java_showcase_integration_tests
97+
working-directory: sdk-platform-java

0 commit comments

Comments
 (0)