diff --git a/.github/actions/render/action.yml b/.github/actions/render/action.yml index e5bb8c7..7716066 100644 --- a/.github/actions/render/action.yml +++ b/.github/actions/render/action.yml @@ -52,7 +52,7 @@ runs: /usr/bin/build.sh --versioned_filenames $( [ -n "${{ inputs.pr-repo }}" -a -n "${{ inputs.pr-number }}" ] && echo --pr_number=${{ inputs.pr-number }} --pr_repo=${{ inputs.pr-repo }} ) - $( [ ${{ inputs.pdf }} -a -n "${{ inputs.diffbase }}" ] && echo --diffbase=${{ inputs.diffbase }} --diffpdf=${diff_file_name}.pdf --diffpdflog=${diff_file_name}.pdf.log ) + $( [ ${{ inputs.pdf }} -a -n "${{ inputs.diffbase }}" ] && echo --diffbase=${{ inputs.diffbase }} --diffpdf=${{ inputs.output-basename }}.$(echo ${{ inputs.diffbase }} | cut -c1-20).diff.pdf --diffpdflog=${{ inputs.output-basename }}.$(echo ${{ inputs.diffbase }} | cut -c1-20).diff.pdf.log ) $( ${{ inputs.pdf }} && echo --pdf=${{ inputs.output-basename }}.pdf --pdflog=${{ inputs.output-basename }}.pdf.log ) $( ${{ inputs.html }} && echo --html=${{ inputs.output-basename }}.html ) $( ${{ inputs.docx }} && echo --docx=${{ inputs.output-basename }}.docx ) @@ -60,5 +60,3 @@ runs: ${{ inputs.extra-build-options }} ${{ inputs.input-md }} shell: sh - env: - diff_file_name: ${{ inputs.output-basename }}.$(echo ${{ inputs.diffbase }} | cut -c1-20).diff