Skip to content

Commit 4c28665

Browse files
authored
Merge pull request #35 from ansforge/fix-graphviz-version
fix: utiliser graphviz apt ubuntu-24.04 au lieu de compiler depuis les sources
2 parents f0ad755 + dd8c03d commit 4c28665

1 file changed

Lines changed: 5 additions & 14 deletions

File tree

action.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -147,26 +147,17 @@ runs:
147147
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
148148

149149
- name: Install jekyll and graphviz
150-
shell: bash
150+
shell: bash
151151
run: |
152152
sudo gem install jekyll
153-
# GraphViz 2.42 (apt Ubuntu 22.04) incompatible avec PlantUML — installation version récente
154-
sudo apt-get install -y cmake libgd-dev libpng-dev libfontconfig-dev
155-
wget -q https://gitlab.com/graphviz/graphviz/-/archive/12.2.1/graphviz-12.2.1.tar.gz
156-
tar -xzf graphviz-12.2.1.tar.gz
157-
cd graphviz-12.2.1
158-
cmake -B build -DCMAKE_BUILD_TYPE=Release
159-
cmake --build build -j$(nproc)
160-
sudo cmake --install build
153+
# PlantUML 1.2026.x (publisher 2.2.9+) est compatible avec GraphViz apt
154+
sudo apt-get install -y graphviz
161155
dot -V
162156
163-
157+
164158
# Creation de l'IG
165159
- name: 🏃‍♂️ Run IG Publisher
166-
shell: bash
167-
env:
168-
GRAPHVIZ_DOT: /usr/local/bin/dot
169-
PLANTUML_LIMIT_SIZE: 8192
160+
shell: bash
170161
run : |
171162
cd ${{ inputs.repo_ig}}
172163
java -Xmx8192m -jar ../publisher.jar -ig . -authorise-non-conformant-tx-servers

0 commit comments

Comments
 (0)