Skip to content

Commit 189e8f3

Browse files
committed
Added .mdx file
1 parent f1f4860 commit 189e8f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ inputs:
2121
description: 'Target branch for comparison'
2222
required: true
2323
output_format:
24-
description: 'Output format for documentation files (.md, .rst, or .html)'
24+
description: 'Output format for documentation files (.md, .mdx, .rst, or .html)'
2525
required: false
2626
default: '.md'
2727

@@ -337,8 +337,8 @@ runs:
337337
OUTPUT_FORMAT="${{ inputs.output_format }}"
338338
339339
# Validate output format
340-
if [[ "$OUTPUT_FORMAT" != ".md" && "$OUTPUT_FORMAT" != ".rst" && "$OUTPUT_FORMAT" != ".html" ]]; then
341-
echo "Error: Invalid output format '$OUTPUT_FORMAT'. Must be either '.md', '.rst', or '.html'"
340+
if [[ "$OUTPUT_FORMAT" != ".md" && "$OUTPUT_FORMAT" != ".mdx" && "$OUTPUT_FORMAT" != ".rst" && "$OUTPUT_FORMAT" != ".html" ]]; then
341+
echo "Error: Invalid output format '$OUTPUT_FORMAT'. Must be either '.md', '.mdx', '.rst', or '.html'"
342342
exit 1
343343
fi
344344

0 commit comments

Comments
 (0)