File tree 1 file changed +20
-1
lines changed
1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ concurrency:
15
15
jobs :
16
16
publish-techdocs-site :
17
17
runs-on : ubuntu-latest
18
+ env :
19
+ PUPPETEER_EXECUTABLE_PATH : /usr/bin/chromium
18
20
steps :
19
21
- name : Checkout
20
22
uses : actions/checkout@v4
@@ -27,13 +29,30 @@ jobs:
27
29
with :
28
30
python-version : ' 3.9'
29
31
32
+ - name : setup java
33
+ uses : actions/setup-java@v3
34
+ with :
35
+ distribution : ' zulu'
36
+ java-version : ' 11'
37
+
38
+ - name : download, validate, install plantuml and its dependencies
39
+ run : |
40
+ curl -o plantuml.jar -L http://sourceforge.net/projects/plantuml/files/plantuml.1.2021.4.jar/download
41
+ echo "be498123d20eaea95a94b174d770ef94adfdca18 plantuml.jar" | sha1sum -c -
42
+ mv plantuml.jar /opt/plantuml.jar
43
+ mkdir -p "$HOME/.local/bin"
44
+ echo $'#!/bin/sh\n\njava -jar '/opt/plantuml.jar' ${@}' >> "$HOME/.local/bin/plantuml"
45
+ chmod +x "$HOME/.local/bin/plantuml"
46
+ echo "$HOME/.local/bin" >> $GITHUB_PATH
47
+ sudo apt-get install -y graphviz
48
+
30
49
- name : Install techdocs-cli
31
50
run : sudo npm install -g @techdocs/cli
32
51
33
52
- name : Install mkdocs and mkdocs plugins
34
53
run : |
35
54
python -m pip install \
36
- mkdocs-techdocs-core==1.5.2\
55
+ mkdocs-techdocs-core==1.5.2 \
37
56
markdown-inline-mermaid==1.0.4 \
38
57
mkdocs-mermaid2-plugin==1.2.1 \
39
58
mkdocs-macros-plugin==1.3.7
You can’t perform that action at this time.
0 commit comments