feat: conditionally upload private PDFs based on the Git server and update the GitHub upload action to v4.

This commit is contained in:
Sean O'Connor
2026-02-04 12:51:31 -05:00
parent eeba5c7aea
commit 65139ac3b1

View File

@@ -183,7 +183,17 @@ jobs:
- name: List generated PDFs
run: ls -la *.pdf
- name: Upload Private PDFs
- name: Upload Private PDFs (GitHub)
if: github.server_url == 'https://github.com'
uses: actions/upload-artifact@v4
with:
name: private-documents
path: |
resume.pdf
cv.pdf
- name: Upload Private PDFs (Gitea)
if: github.server_url != 'https://github.com'
uses: actions/upload-artifact@v3
with:
name: private-documents