Skip to content

Commit e935c9e

Browse files
authored
build(java): run linkage monitor as GitHub action (#933)
1 parent 5de29e9 commit e935c9e

File tree

2 files changed

+12
-47
lines changed

2 files changed

+12
-47
lines changed

synthtool/gcp/templates/java_library/.github/workflows/ci.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,18 @@ jobs:
5454
with:
5555
java-version: 8
5656
- run: java -version
57-
- run: .kokoro/linkage-monitor.sh
57+
- name: Install artifacts to local Maven repository
58+
run: |
59+
source .kokoro/common.sh
60+
retry_with_backoff 3 10 \
61+
mvn install -B -V \
62+
-Dmaven.test.skip -DskipTests=true \
63+
-Dclirr.skip=true \
64+
-Denforcer.skip=true \
65+
-Dmaven.javadoc.skip=true \
66+
-Dgcloud.download.skip=true
67+
shell: bash
68+
- uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor
5869
lint:
5970
runs-on: ubuntu-latest
6071
steps:

synthtool/gcp/templates/java_library/.kokoro/linkage-monitor.sh

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)