Skip to content

Commit 51cd99b

Browse files
build(java): run linkage monitor as GitHub action
Source-Author: Tomo Suzuki <[email protected]> Source-Date: Tue Feb 2 16:20:26 2021 -0500 Source-Repo: googleapis/synthtool Source-Sha: e935c9ecb47da0f2e054f5f1845f7cf7c95fa625 Source-Link: googleapis/synthtool@e935c9e
1 parent 4d21e3a commit 51cd99b

File tree

3 files changed

+13
-49
lines changed

3 files changed

+13
-49
lines changed

.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:

.kokoro/linkage-monitor.sh

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

synth.metadata

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "5de29e9434b63ea6d7e46dc348521c62969af1a1"
14+
"sha": "e935c9ecb47da0f2e054f5f1845f7cf7c95fa625"
1515
}
1616
}
1717
],
@@ -40,7 +40,6 @@
4040
".kokoro/continuous/java8.cfg",
4141
".kokoro/continuous/readme.cfg",
4242
".kokoro/dependencies.sh",
43-
".kokoro/linkage-monitor.sh",
4443
".kokoro/nightly/common.cfg",
4544
".kokoro/nightly/integration.cfg",
4645
".kokoro/nightly/java11.cfg",

0 commit comments

Comments
 (0)