| path | Path to the drawio files to export | no | . |
| format | Exported format [default: pdf] [possible values: adoc, md, jpg, pdf, png, svg, xml] | no | pdf |
| output | Exported folder name | no | export |
| remove-page-suffix | Remove page suffix when possible (in case of single page file) | no | — |
| border | Sets the border width around the diagram | no | 0 |
| scale | Scales the diagram size | no | — |
| enable-plugins | Enable Plugins | no | — |
| width | Fits the generated image/pdf into the specified width, preserves aspect ratio | no | — |
| height | Fits the generated image/pdf into the specified height, preserves aspect ratio | no | — |
| crop | crops PDF to diagram size | no | — |
| embed-diagram | Includes a copy of the diagram for PDF, PNG, or SVG | no | — |
| transparent | Set transparent background for PNG | no | — |
| quality | Output image quality for JPEG | no | 90 |
| uncompressed | Uncompressed XML output | no | — |
| embed-svg-images | Embed Images in SVG file | no | — |
| all-pages | Export all pages (for PDF format only) | no | — |
| embed-svg-fonts | Embed Fonts in SVG file [default: true] [possible values: true, false] | no | true |
| svg-theme | Theme of the exported SVG image [default: light] [possible values: dark, light] | no | light |
| svg-links-target | Target of links in the exported SVG image [default: auto] [possible values: auto, new-win, same-win] | no | auto |
| action-mode | Export mode for this action [default: auto] [possible values: auto, recent, all, reference] | yes | auto |
| since-reference | Git Reference serving as base for export (only when action-mode is reference) | no | — |
| internal_push_before | [internal] to get 'before' value on 'push' event | yes | ${{ github.event.before }} |
| internal_push_forced | [internal] to get 'forced' value on 'push' event | yes | ${{ github.event.forced }} |