mirror of
https://github.com/soconnor0919/resume-cv.git
synced 2026-02-04 21:06:31 -05:00
Compare commits
3 Commits
release-44
...
release-47
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
65139ac3b1 | ||
|
|
eeba5c7aea | ||
|
|
ad46c2ba70 |
48
.github/workflows/compile-latex.yml
vendored
48
.github/workflows/compile-latex.yml
vendored
@@ -64,8 +64,9 @@ jobs:
|
||||
- name: List generated PDFs
|
||||
run: ls -la *.pdf
|
||||
|
||||
# Create/update latest release
|
||||
- name: Upload Public PDFs as Release
|
||||
# --- GITHUB RELEASES (Run only on GitHub) ---
|
||||
- name: Upload Public PDFs as Release (GitHub)
|
||||
if: github.server_url == 'https://github.com'
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: "resume.pdf,cv.pdf"
|
||||
@@ -80,8 +81,8 @@ jobs:
|
||||
removeArtifacts: true
|
||||
replacesArtifacts: true
|
||||
|
||||
# Create a numbered release for version history
|
||||
- name: Create Numbered Release
|
||||
- name: Create Numbered Release (GitHub)
|
||||
if: github.server_url == 'https://github.com'
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: "resume.pdf,cv.pdf"
|
||||
@@ -95,6 +96,33 @@ jobs:
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
# --- GITEA RELEASES (Run only on Gitea) ---
|
||||
- name: Upload Public PDFs as Release (Gitea)
|
||||
if: github.server_url != 'https://github.com'
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
files: |
|
||||
resume.pdf
|
||||
cv.pdf
|
||||
name: Latest PDFs
|
||||
tag_name: latest
|
||||
prerelease: false
|
||||
draft: false
|
||||
|
||||
- name: Create Numbered Release (Gitea)
|
||||
if: github.server_url != 'https://github.com'
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
files: |
|
||||
resume.pdf
|
||||
cv.pdf
|
||||
name: Release ${{ github.run_number }}
|
||||
tag_name: release-${{ github.run_number }}
|
||||
prerelease: false
|
||||
draft: false
|
||||
|
||||
build-private:
|
||||
runs-on: ubuntu-latest
|
||||
container: ghcr.io/xu-cheng/texlive-alpine:latest
|
||||
@@ -155,10 +183,20 @@ 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
|
||||
path: |
|
||||
resume.pdf
|
||||
cv.pdf
|
||||
Reference in New Issue
Block a user