@@ -43,38 +43,38 @@ jobs:
4343 run : |
4444 img_dir=ImplementationGuide/images/diagrams
4545 mkdir -p $img_dir
46- rm -rf ImplementationGuide/images/diagrams/*.svg
46+ rm -rf ImplementationGuide/images/diagrams/*.png
4747
48- # Generate the SVGs from PUML
49- - name : Render PUML to SVG and Move files
48+ # Generate the PNGs from PUML
49+ - name : Render PUML to PNG and Move files
5050 run : |
5151 FileNamePaths=$(find . -path "*/imgsrc/*/*.puml" -exec dirname {} \; | sort -u)
5252 for dir in $FileNamePaths
5353 do
54- # Render SVGs from PUMLs
55- find $dir -name "*.puml" -exec java -jar plantuml.jar -tsvg {} \;
54+ # Render PNGs from PUMLs
55+ find $dir -name "*.puml" -exec java -jar plantuml.jar -png {} \;
5656 done
5757
58- # Generate the SVGs from DrawIO
59- - name : Render DrawIO to SVG with predefined action
58+ # Generate the PNGs from DrawIO
59+ - name : Render DrawIO to PNG with predefined action
6060 uses : rlespinasse/drawio-export-action@v2
6161 with :
6262 path : ./Material/imgsrc/drawio/
6363 remove-page-suffix : true
6464 output : .
65- format : svg
65+ format : png
6666 action-mode : all
6767
68- # copies the created png & svg files to the images/diagrams folder and deletes the drawio files
69- - name : Move SVGs to target image folder
68+ # copies the created png & png files to the images/diagrams folder and deletes the drawio files
69+ - name : Move PNGs to target image folder
7070 run : |
7171 img_dir=ImplementationGuide/images/diagrams
72- # Find all unique directories containing *.svg files under any /imgsrc/ folder
73- FileNamePaths=$(find . -path "*/imgsrc/*/*.svg " -exec dirname {} \; | sort -u)
72+ # Find all unique directories containing *.png files under any /imgsrc/ folder
73+ FileNamePaths=$(find . -path "*/imgsrc/*/*.png " -exec dirname {} \; | sort -u)
7474 for dir in $FileNamePaths
7575 do
76- # Move SVGs to out directory
77- find $dir -name "*.svg " -exec mv {} $img_dir \;
76+ # Move PNGs to out directory
77+ find $dir -name "*.png " -exec mv {} $img_dir \;
7878 done
7979
8080 # # add and commit the new generated files
9494 with :
9595 commit_user_name : GitHub Actions Bot
9696 commit_user_email :
[email protected] 97- commit_author : ${{ github.actor }}
9897 commit_message : auto-generated diagrams by GitHub Action after source code change
0 commit comments