1919env :
2020 REL_PLANTUML_INPUT_DIR : src/plantuml
2121 REL_DRAWIO_INPUT_DIR : src/drawio
22+ REL_OUTPUT_DIR : src/images
2223 OUTPUT_DIR : $(pwd)/images
2324 PLANTUML_PREFIX : uml_
2425 DRAWIO_PREFIX : diagram_
@@ -226,6 +227,7 @@ jobs:
226227 echo "=== 🎯 Generating Draw.io images ==="
227228
228229 rel_input_dir=${{ env.REL_DRAWIO_INPUT_DIR }}
230+ rel_output_dir=${{ env.REL_OUTPUT_DIR }}
229231 output_dir=${{ env.OUTPUT_DIR }}
230232 echo "📁 Output directory: $output_dir"
231233
@@ -271,6 +273,7 @@ jobs:
271273 prefix_base="${{ env.DRAWIO_PREFIX }}${base}"
272274 rel_input_file_path="${rel_input_dir}/$(basename "$file")"
273275 echo "📝 Prefix Base name: $prefix_base"
276+ echo "📝 Relative file path: $rel_input_file_path"
274277 echo "📊 File size: $(ls -lh "$file" | awk '{print $5}')"
275278
276279 # Show file content preview
@@ -286,7 +289,7 @@ jobs:
286289 -v "$(pwd):/data" \
287290 rlespinasse/drawio-export:4.4.0 \
288291 --format png \
289- --output "${output_dir }/${prefix_base}.png" \
292+ --output "${rel_output_dir }/${prefix_base}.png" \
290293 "$rel_input_file_path"
291294
292295 png_exit_code=$?
@@ -312,7 +315,7 @@ jobs:
312315 -v "$(pwd):/data" \
313316 rlespinasse/drawio-export:4.4.0 \
314317 --format svg \
315- --output "${output_dir }/${prefix_base}.png " \
318+ --output "${rel_output_dir }/${prefix_base}.svg " \
316319 "$rel_input_file_path"
317320
318321 svg_exit_code=$?
0 commit comments