rlespinasse/Drawio Export Action

GitHub Action To Export Draw.io Files

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
pathPath to the drawio files to exportno.
formatExported format [default: pdf] [possible values: adoc, md, jpg, pdf, png, svg, xml]nopdf
outputExported folder namenoexport
remove-page-suffixRemove page suffix when possible (in case of single page file)no
borderSets the border width around the diagramno0
scaleScales the diagram sizeno
enable-pluginsEnable Pluginsno
widthFits the generated image/pdf into the specified width, preserves aspect rationo
heightFits the generated image/pdf into the specified height, preserves aspect rationo
cropcrops PDF to diagram sizeno
embed-diagramIncludes a copy of the diagram for PDF, PNG, or SVGno
transparentSet transparent background for PNGno
qualityOutput image quality for JPEGno90
uncompressedUncompressed XML outputno
embed-svg-imagesEmbed Images in SVG fileno
all-pagesExport all pages (for PDF format only)no
embed-svg-fontsEmbed Fonts in SVG file [default: true] [possible values: true, false]notrue
svg-themeTheme of the exported SVG image [default: light] [possible values: dark, light]nolight
svg-links-targetTarget of links in the exported SVG image [default: auto] [possible values: auto, new-win, same-win]noauto
action-modeExport mode for this action [default: auto] [possible values: auto, recent, all, reference]yesauto
since-referenceGit Reference serving as base for export (only when action-mode is reference)no
internal_push_before[internal] to get 'before' value on 'push' eventyes${{ github.event.before }}
internal_push_forced[internal] to get 'forced' value on 'push' eventyes${{ github.event.forced }}
namedescription
error_messageMessage display on the error annotation