mirror of
https://github.com/soconnor0919/honors-thesis.git
synced 2026-02-04 21:46:31 -05:00
Use upload-artifact v4 on GitHub, v3 otherwise
All checks were successful
Build Proposal and Thesis / build (push) Successful in 47s
All checks were successful
Build Proposal and Thesis / build (push) Successful in 47s
This commit is contained in:
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@@ -47,13 +47,29 @@ jobs:
|
|||||||
pdflatex -output-directory=build -interaction=nonstopmode proposal.tex
|
pdflatex -output-directory=build -interaction=nonstopmode proposal.tex
|
||||||
cp build/proposal.pdf output/proposal.pdf
|
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
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: thesis-pdf
|
name: thesis-pdf
|
||||||
path: thesis/out/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
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: proposal-pdf
|
name: proposal-pdf
|
||||||
|
|||||||
Reference in New Issue
Block a user