Skip to content

Commit 38187a9

Browse files
committed
ci: fix sonar module installation
1 parent 333a5c1 commit 38187a9

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

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

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,18 @@ jobs:
4646
path: ~/.m2
4747
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
4848
restore-keys: ${{ runner.os }}-m2
49-
- name: Install modules to local maven
50-
run: |
51-
mvn install -T 1C -DskipTests -ntp -B
52-
cd java-showcase
53-
mvn install -T 1C -DskipTests -ntp -B
49+
- name: Install sdk-platform-modules
50+
shell: bash
51+
run: .kokoro/build.sh
52+
env:
53+
BUILD_SUBDIR: sdk-platform-java
54+
JOB_TYPE: install
55+
- name: Install java-showcase
56+
shell: bash
57+
run: mvn install -T 1C -DskipTests -ntp -B
58+
working-directory: sdk-platform-java/java-showcase
5459
- name: Parse showcase version
55-
working-directory: java-showcase/gapic-showcase
60+
working-directory: sdk-platform-java/java-showcase/gapic-showcase
5661
run: echo "SHOWCASE_VERSION=$(mvn help:evaluate -Dexpression=gapic-showcase.version -q -DforceStdout)" >> "$GITHUB_ENV"
5762
- name: Install showcase server
5863
run: |

0 commit comments

Comments
 (0)