Skip to content

Commit

Permalink
rename uploaded filename based on input filename
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfenner committed Sep 11, 2024
1 parent 201e4e4 commit 34ab589
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,20 +123,21 @@ jobs:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.gen_output_name.outputs.OUTPUT_FILENAME }}.*.pdf
tag: ${{ github.ref }}
asset_name: ${{ steps.gen_output_name.outputs.OUTPUT_FILENAME }}.pdf
overwrite: true
file_glob: true
# Always upload all PDF and log files to the workflow artifacts
- name: Upload pdfs
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v4
with:
name: PDF
name: ${{ steps.gen_output_name.outputs.OUTPUT_FILENAME }}.pdf
path: |
${{ steps.gen_output_name.outputs.OUTPUT_FILENAME }}.*.pdf
if: always()
- name: Upload logs
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v4
with:
name: Logs
name: ${{ steps.gen_output_name.outputs.OUTPUT_FILENAME }}.log
path: |
${{ steps.gen_output_name.outputs.OUTPUT_FILENAME }}.*.log
if: always()

0 comments on commit 34ab589

Please sign in to comment.