Use upload-artifact v4 on GitHub, v3 otherwise
All checks were successful
Build Proposal and Thesis / build (push) Successful in 47s

This commit is contained in:
Sean O'Connor
2026-02-04 13:33:17 -05:00
parent 27c63a4f60
commit 0f789c472e

View File

@@ -47,13 +47,29 @@ jobs:
pdflatex -output-directory=build -interaction=nonstopmode proposal.tex
cp build/proposal.pdf output/proposal.pdf
- name: Upload Thesis PDF
- name: Upload Thesis PDF (GitHub)
if: github.server_url == 'https://github.com'
uses: actions/upload-artifact@v4
with:
name: thesis-pdf
path: thesis/out/thesis.pdf
- name: Upload Thesis PDF (Gitea)
if: github.server_url != 'https://github.com'
uses: actions/upload-artifact@v3
with:
name: thesis-pdf
path: thesis/out/thesis.pdf
- name: Upload Proposal PDF
- name: Upload Proposal PDF (GitHub)
if: github.server_url == 'https://github.com'
uses: actions/upload-artifact@v4
with:
name: proposal-pdf
path: proposal/output/proposal.pdf
- name: Upload Proposal PDF (Gitea)
if: github.server_url != 'https://github.com'
uses: actions/upload-artifact@v3
with:
name: proposal-pdf