Skip to content

Commit ec1df78

Browse files
authored
Update action.yml
Support extra build options to be passed to pandoc's build.sh
1 parent 7696997 commit ec1df78

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ inputs:
1212
description: 'The name of the rendered DOCX file'
1313
output-tex:
1414
description: 'The name of the rendered TEX file'
15+
extra-build-options:
16+
description: 'Additional build options to be passed to build.sh'
1517
runs:
1618
using: 'composite'
1719
steps:
@@ -20,7 +22,7 @@ runs:
2022
- run: chown -R $(id -u):$(id -g) $PWD
2123
shell: sh
2224
- run: >
23-
/usr/bin/build.sh
25+
/usr/bin/build.sh ${{ inputs.extra-build-options }}
2426
$( [ -n "${{ inputs.output-pdf }}" ] && echo --pdf=${{ inputs.output-pdf }} )
2527
$( [ -n "${{ inputs.output-html }}" ] && echo --html=${{ inputs.output-html }} )
2628
$( [ -n "${{ inputs.output-docx }}" ] && echo --docx=${{ inputs.output-docx }} )

0 commit comments

Comments
 (0)