File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 or .rst )'
24+ description : ' Output format for documentation files (.md, .rst, or .html )'
2525 required : false
2626 default : ' .md'
2727
@@ -311,8 +311,8 @@ runs:
311311 OUTPUT_FORMAT="${{ inputs.output_format }}"
312312
313313 # Validate output format
314- if [[ "$OUTPUT_FORMAT" != ".md" && "$OUTPUT_FORMAT" != ".rst" ]]; then
315- echo "Error: Invalid output format '$OUTPUT_FORMAT'. Must be either '.md' or '.rst '"
314+ if [[ "$OUTPUT_FORMAT" != ".md" && "$OUTPUT_FORMAT" != ".rst" && "$OUTPUT_FORMAT" != ".html" ]]; then
315+ echo "Error: Invalid output format '$OUTPUT_FORMAT'. Must be either '.md', '.rst', or '.html '"
316316 exit 1
317317 fi
318318
You can’t perform that action at this time.
0 commit comments