From 65139ac3b197a7b42dd603b1e2589f4d26ac0c06 Mon Sep 17 00:00:00 2001 From: Sean O'Connor Date: Wed, 4 Feb 2026 12:51:31 -0500 Subject: [PATCH] feat: conditionally upload private PDFs based on the Git server and update the GitHub upload action to v4. --- .github/workflows/compile-latex.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compile-latex.yml b/.github/workflows/compile-latex.yml index 90d955a..2b61526 100644 --- a/.github/workflows/compile-latex.yml +++ b/.github/workflows/compile-latex.yml @@ -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