mirror of
https://github.com/soconnor0919/resume-cv.git
synced 2026-02-05 05:16:31 -05:00
Compare commits
3 Commits
61258bf16e
...
release-45
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ad46c2ba70 | ||
|
|
5b99a95078 | ||
|
|
fa5d42251d |
59
.github/workflows/compile-latex.yml
vendored
59
.github/workflows/compile-latex.yml
vendored
@@ -64,35 +64,62 @@ 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)
|
||||||
uses: softprops/action-gh-release@v2
|
if: github.server_url == 'https://github.com'
|
||||||
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
files: |
|
artifacts: "resume.pdf,cv.pdf"
|
||||||
resume.pdf
|
tag: latest
|
||||||
cv.pdf
|
|
||||||
tag_name: latest
|
|
||||||
name: Latest PDFs
|
name: Latest PDFs
|
||||||
body: |
|
body: |
|
||||||
Latest compiled resume and CV (public versions)
|
Latest compiled resume and CV (public versions)
|
||||||
|
|
||||||
Built from commit ${{ github.sha }}
|
Built from commit ${{ github.sha }}
|
||||||
prerelease: false
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
draft: false
|
allowUpdates: true
|
||||||
|
removeArtifacts: 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: softprops/action-gh-release@v2
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
files: |
|
artifacts: "resume.pdf,cv.pdf"
|
||||||
resume.pdf
|
tag: release-${{ github.run_number }}
|
||||||
cv.pdf
|
|
||||||
tag_name: release-${{ github.run_number }}
|
|
||||||
name: Release ${{ github.run_number }}
|
name: Release ${{ github.run_number }}
|
||||||
body: |
|
body: |
|
||||||
Automated release #${{ github.run_number }}
|
Automated release #${{ github.run_number }}
|
||||||
|
|
||||||
Built from commit ${{ github.sha }}
|
Built from commit ${{ github.sha }}
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
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.GITEA_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.GITEA_TOKEN }}
|
||||||
|
files: |
|
||||||
|
resume.pdf
|
||||||
|
cv.pdf
|
||||||
|
name: Release ${{ github.run_number }}
|
||||||
|
tag_name: release-${{ github.run_number }}
|
||||||
prerelease: false
|
prerelease: false
|
||||||
draft: false
|
draft: false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user