You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@paimon.apache.org by cz...@apache.org on 2023/03/30 11:10:07 UTC
[incubator-paimon-website] branch master updated: Use Java 1.8 instead of Java 11 to build documents
This is an automated email from the ASF dual-hosted git repository.
czweng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon-website.git
The following commit(s) were added to refs/heads/master by this push:
new 43d300247 Use Java 1.8 instead of Java 11 to build documents
43d300247 is described below
commit 43d300247a09a6960532ac03a1f3622282a99e43
Author: tsreaper <ts...@gmail.com>
AuthorDate: Thu Mar 30 19:09:55 2023 +0800
Use Java 1.8 instead of Java 11 to build documents
---
.github/workflows/build.yml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 56519eece..79f6fe7b7 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -28,7 +28,13 @@ jobs:
build-website:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
+ - name: Checkout code
+ uses: actions/checkout@v2
+
+ - name: Set up JDK 1.8
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
- name: Copy out old docs directory
run: |
@@ -70,7 +76,7 @@ jobs:
then
git checkout release-"$version"
fi
- docker run --rm --volume "$PWD:/root/paimon" chesnay/flink-ci:java_8_11 bash -c "cd /root/paimon && . ./docs.sh"
+ . ./docs.sh
# copy document to target directory
cp -r docs/target/* "$current_dir"/docs/"$version"
# clean up