Skip to content

Commit 7e6da49

Browse files
committed
download recent plantuml
the one that is in ubuntu repo is too old for all the diagrams that we want
1 parent 1a031e8 commit 7e6da49

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/site.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup dependencies
1515
run: |
1616
sudo apt update
17-
sudo apt install plantuml
17+
sudo apt install graphviz
1818
- uses: actions/setup-python@v5
1919
with:
2020
python-version: 3.x
@@ -25,6 +25,15 @@ jobs:
2525
with:
2626
java-version: '17'
2727
distribution: 'temurin'
28+
# see https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-commands#adding-a-system-path
29+
- name: get latest plantuml;
30+
run: |
31+
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
32+
curl -L -o plantuml.jar https://github.com/plantuml/plantuml/releases/download/v1.2026.1/plantuml-1.2026.1.jar
33+
echo "java -Djava.awt.headless=true -jar $HOME/.local/bin/plantml.jar $@" >>plantuml
34+
chmod +x plantuml
35+
working-directory: ./local/bin
36+
2837

2938
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
3039
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md

0 commit comments

Comments
 (0)