From 17f4d17bfbae06b662126de0bdd1e7953322f28b Mon Sep 17 00:00:00 2001 From: Chris Fenner Date: Thu, 5 Sep 2024 18:08:14 +0000 Subject: [PATCH] remove environment variable --- .github/actions/render/action.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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