feat: enhance GitHub Actions workflow for LaTeX document processing and add Italian hyphenation patterns
Some checks failed
Build LaTeX Document / build_latex (push) Failing after 4m10s

This commit is contained in:
2025-02-24 12:28:08 +01:00
parent f33dbbd6ee
commit e3b48dd0ff

View File

@@ -32,14 +32,28 @@ jobs:
- name: Enable automatic package installation
run: initexmf --set-config-value=[MPM]AutoInstall=yes
- name: Build LaTeX document
- name: Build LaTeX document (first run)
run: |
pdflatex -interaction=nonstopmode -halt-on-error ${{ env.TEX_NAME }} || (cat /root/.miktex/texmfs/data/miktex/log/pdflatex.log && exit 1)
- name: Generate .bcf file
run: pdflatex -interaction=nonstopmode -halt-on-error ${{ env.TEX_NAME }} || (cat /root/.miktex/texmfs/data/miktex/log/pdflatex.log && exit 1)
- name: Run Biber to process bibliography
run: biber ${{ env.TEX_NAME }}
- name: Build LaTeX document (second run)
run: |
pdflatex -interaction=nonstopmode -halt-on-error ${{ env.TEX_NAME }} || (cat /root/.miktex/texmfs/data/miktex/log/pdflatex.log && exit 1)
- name: Build LaTeX document (third run)
run: |
pdflatex -interaction=nonstopmode -halt-on-error ${{ env.TEX_NAME }} || (cat /root/.miktex/texmfs/data/miktex/log/pdflatex.log && exit 1)
- name: Check for PDF artifact
run: file ${{ env.PDF_NAME }} || grep -q ' PDF '
- name: Delete release and tag by tag name`:` latest
- name: Delete latest release and tag
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
curl -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" -X DELETE https://gitea.kobim.cloud/api/v1/repos/${{ github.repository }}/releases/tags/latest