mirror of
https://github.com/soconnor0919/resume-cv.git
synced 2026-02-05 05:16:31 -05:00
Compare commits
2 Commits
release-44
...
release-46
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eeba5c7aea | ||
|
|
ad46c2ba70 |
38
.github/workflows/compile-latex.yml
vendored
38
.github/workflows/compile-latex.yml
vendored
@@ -64,8 +64,9 @@ jobs:
|
|||||||
- name: List generated PDFs
|
- name: List generated PDFs
|
||||||
run: ls -la *.pdf
|
run: ls -la *.pdf
|
||||||
|
|
||||||
# Create/update latest release
|
# --- GITHUB RELEASES (Run only on GitHub) ---
|
||||||
- name: Upload Public PDFs as Release
|
- name: Upload Public PDFs as Release (GitHub)
|
||||||
|
if: github.server_url == 'https://github.com'
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: "resume.pdf,cv.pdf"
|
artifacts: "resume.pdf,cv.pdf"
|
||||||
@@ -80,8 +81,8 @@ jobs:
|
|||||||
removeArtifacts: true
|
removeArtifacts: true
|
||||||
replacesArtifacts: true
|
replacesArtifacts: true
|
||||||
|
|
||||||
# Create a numbered release for version history
|
- name: Create Numbered Release (GitHub)
|
||||||
- name: Create Numbered Release
|
if: github.server_url == 'https://github.com'
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: "resume.pdf,cv.pdf"
|
artifacts: "resume.pdf,cv.pdf"
|
||||||
@@ -95,6 +96,33 @@ jobs:
|
|||||||
draft: false
|
draft: false
|
||||||
prerelease: 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:
|
build-private:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ghcr.io/xu-cheng/texlive-alpine:latest
|
container: ghcr.io/xu-cheng/texlive-alpine:latest
|
||||||
@@ -156,7 +184,7 @@ jobs:
|
|||||||
run: ls -la *.pdf
|
run: ls -la *.pdf
|
||||||
|
|
||||||
- name: Upload Private PDFs
|
- name: Upload Private PDFs
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: private-documents
|
name: private-documents
|
||||||
path: |
|
path: |
|
||||||
|
|||||||
Reference in New Issue
Block a user