Skip to content

Commit

Permalink
build(java): run linkage monitor as GitHub action (#933)
Browse files Browse the repository at this point in the history
  • Loading branch information
suztomo committed Feb 2, 2021
1 parent 5de29e9 commit e935c9e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 47 deletions.
13 changes: 12 additions & 1 deletion synthtool/gcp/templates/java_library/.github/workflows/ci.yaml
Expand Up @@ -54,7 +54,18 @@ jobs:
with:
java-version: 8
- run: java -version
- run: .kokoro/linkage-monitor.sh
- name: Install artifacts to local Maven repository
run: |
source .kokoro/common.sh
retry_with_backoff 3 10 \
mvn install -B -V \
-Dmaven.test.skip -DskipTests=true \
-Dclirr.skip=true \
-Denforcer.skip=true \
-Dmaven.javadoc.skip=true \
-Dgcloud.download.skip=true
shell: bash
- uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor
lint:
runs-on: ubuntu-latest
steps:
Expand Down
46 changes: 0 additions & 46 deletions synthtool/gcp/templates/java_library/.kokoro/linkage-monitor.sh

This file was deleted.

0 comments on commit e935c9e

Please sign in to comment.