Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 0d8ed01

Browse files
chore: re-generated to pick up changes from synthtool. (#757)
* chore: cleanup cloud RAD generation Updating cloud rad generation to support [java-shared-config/pull/344](googleapis/java-shared-config#344) updates and removing inclusion of README as we're not currently supporting this feature yet Source-Author: Emily Ball <emilyball@google.com> Source-Date: Mon Nov 8 13:23:34 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: 99ea92a109dbcd4e2b8c179e337848ba6a25fe16 Source-Link: googleapis/synthtool@99ea92a * chore: update jre to 11 for linter java-format requires JRE v11+ to run linter. It still check older code, just jre has to be 11+: google/google-java-format#529 Updating ci.yaml template since it is applicable for all the libraries. Source-Author: Timur Sadykov <stim@google.com> Source-Date: Tue Nov 9 01:52:34 2021 +0000 Source-Repo: googleapis/synthtool Source-Sha: 42a3786737c17ece39924d7025f3be481812da53 Source-Link: googleapis/synthtool@42a3786
1 parent 327dca9 commit 0d8ed01

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- uses: actions/setup-java@v2
5454
with:
5555
distribution: zulu
56-
java-version: 8
56+
java-version: 11
5757
- run: java -version
5858
- run: .kokoro/build.sh
5959
env:

.kokoro/release/publish_javadoc11.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,9 @@ mvn clean install -B -q -DskipTests=true
3636
export NAME=google-cloud-containeranalysis
3737
export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)
3838

39-
# V3 generates docfx yml from javadoc
40-
# generate yml
41-
mvn clean site -B -q -P docFX
42-
43-
# copy README to docfx-yml dir and rename index.md
44-
cp README.md target/docfx-yml/index.md
45-
# copy CHANGELOG to docfx-yml dir and rename history.md
39+
# cloud RAD generation
40+
mvn clean javadoc:aggregate -B -q -P docFX
41+
# include CHANGELOG
4642
cp CHANGELOG.md target/docfx-yml/history.md
4743

4844
pushd target/docfx-yml

synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-containeranalysis.git",
7-
"sha": "9e4c9789167892529cd60fd6dc731e654d47167d"
7+
"sha": "6879348f400b676ca6683a3abf2a7ebfce52dc7d"
88
}
99
},
1010
{
@@ -19,7 +19,7 @@
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "717a6a1fe247df095092de1321eadc9da887a06c"
22+
"sha": "42a3786737c17ece39924d7025f3be481812da53"
2323
}
2424
}
2525
],

0 commit comments

Comments
 (0)