2 Commits

Author SHA1 Message Date
7bebaea133 fix: install nodejs for action compatibility
Some checks failed
Compile LaTeX Documents / build-public (push) Successful in 1m2s
Compile LaTeX Documents / build-private (push) Failing after 35s
2025-11-30 18:37:26 -05:00
5f77e4e68c fix: switch to ncipollo/release-action for gitea compatibility 2025-11-30 18:36:31 -05:00

View File

@@ -16,7 +16,7 @@ jobs:
container: ghcr.io/xu-cheng/texlive-alpine:latest
steps:
- name: Install system dependencies
run: apk add --no-cache git gettext bash
run: apk add --no-cache git gettext bash nodejs
- uses: actions/checkout@v4
@@ -62,41 +62,34 @@ jobs:
latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode cv.tex
- name: Upload Public PDFs as Release
uses: softprops/action-gh-release@v2
uses: ncipollo/release-action@v1
with:
files: |
resume.pdf
cv.pdf
artifacts: "resume.pdf,cv.pdf"
name: Latest PDFs
tag_name: latest
tag: latest
body: |
Latest version of resume and CV (public version)
This release is automatically updated with each push to main. For versioned releases, see the numbered releases.
prerelease: false
draft: false
fail_on_unmatched_files: true
generate_release_notes: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
replacesArtifacts: true
token: ${{ secrets.GITHUB_TOKEN }}
# Create a numbered release for version history
- name: Create Numbered Release
uses: softprops/action-gh-release@v2
uses: ncipollo/release-action@v1
with:
files: |
resume.pdf
cv.pdf
artifacts: "resume.pdf,cv.pdf"
name: Release ${{ github.run_number }}
tag_name: release-${{ github.run_number }}
tag: release-${{ github.run_number }}
body: |
Version ${{ github.run_number }} of resume and CV (public version)
prerelease: false
draft: false
fail_on_unmatched_files: true
generate_release_notes: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
token: ${{ secrets.GITHUB_TOKEN }}
build-private:
runs-on: ubuntu-latest
@@ -104,7 +97,7 @@ jobs:
if: github.actor == github.repository_owner
steps:
- name: Install system dependencies
run: apk add --no-cache git gettext bash
run: apk add --no-cache git gettext bash nodejs
- uses: actions/checkout@v4