Skip to content

Commit 7d7bcf7

Browse files
committed
make sure using github installed java
1 parent ff70e40 commit 7d7bcf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/site.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup dependencies
1717
run: |
1818
sudo apt update
19-
sudo apt install plantuml
19+
sudo apt install graphviz
2020
- uses: actions/setup-python@v5
2121
with:
2222
python-version: 3.x
@@ -34,7 +34,7 @@ jobs:
3434
run: |
3535
echo "$THISDIR/bin" >> "$GITHUB_PATH"
3636
curl -L -o plantuml.jar https://github.com/plantuml/plantuml/releases/download/v1.2026.1/plantuml-1.2026.1.jar
37-
echo "java -Djava.awt.headless=true -jar $THISDIR/bin/plantuml.jar $@" >plantuml
37+
echo "$JAVA_HOME/bin/java -Djava.awt.headless=true -jar $THISDIR/bin/plantuml.jar $@" >plantuml
3838
chmod +x plantuml
3939
working-directory: ./bin
4040
- name: try plantuml

0 commit comments

Comments
 (0)