Skip to content

Commit

Permalink
update pr and release workflow to use the calculated name
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfenner committed Sep 10, 2024
1 parent c918bb4 commit b0ff2bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
uses: ./.github/actions/render
with:
input-md: ${{ inputs.input }}
output-basename: ${{ inputs.output }}
output-basename: ${{ steps.gen_output_name.outputs.OUTPUT_FILENAME }}
pdf: true

# Upload the PDF to the release in 'release' mode
Expand All @@ -92,7 +92,7 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ inputs.output }}.*.pdf
file: ${{ steps.gen_output_name.outputs.OUTPUT_FILENAME }}.*.pdf
tag: ${{ github.ref }}
overwrite: true
file_glob: true
Expand Down

0 comments on commit b0ff2bc

Please sign in to comment.