Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename upload artifact #181

Merged
merged 3 commits into from
Sep 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ jobs:
key: latex-${{ inputs.input }}-${{ inputs.container-version }}-${{ github.run_id }}
restore-keys: latex-${{ inputs.input }}-${{ inputs.container-version }}

# Note: It appears that we can't pass variables into 'uses:' below to allow callers to
# request a version of the action. Referencing it by local path breaks external workflows
# that call to this one.
# The unfortunate workaround is for this file to be updated to point at specific commits
# and reference that version of the action file in this reusable workflow.
# Note: It appears that we can't pass variables into 'uses:' below to allow callers to
# request a version of the action. Referencing it by local path breaks external workflows
# that call to this one.
Expand Down Expand Up @@ -118,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()