Skip to content

Commit 004862f

Browse files
authored
ci: use consolidated install helper for enforcer check (#12359)
Fixes #12345
1 parent 320f92d commit 004862f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,9 @@ jobs:
220220
cache: maven
221221
- run: java -version
222222
- name: Install Maven modules to local Maven repository
223-
run: |
224-
mvn install -B -ntp -T 1C -DskipTests -Dclirr.skip -Dcheckstyle.skip
223+
run: .kokoro/build.sh
224+
env:
225+
JOB_TYPE: install
225226
- run: java -version
226227
- run: mvn -B -ntp enforcer:enforce@enforce -T 1C
227228
gapic-libraries-bom:
@@ -234,8 +235,9 @@ jobs:
234235
distribution: temurin
235236
cache: maven
236237
- name: Install Maven modules to local Maven repository
237-
run: |
238-
mvn install -B -ntp -T 1C -DskipTests -Dclirr.skip -Dcheckstyle.skip -Denforcer.skip
238+
run: .kokoro/build.sh
239+
env:
240+
JOB_TYPE: install
239241
- name: Validate gapic-libraries-bom
240242
uses: googleapis/java-cloud-bom/tests/validate-bom@v26.79.0
241243
with:

0 commit comments

Comments
 (0)