fix: use apt-get install instead of container for LaTeX

This commit is contained in:
Zach Kelling
2026-01-21 21:02:26 -08:00
parent cafd661ff8
commit 5390ee9323
+7 -16
View File
@@ -23,15 +23,18 @@ permissions:
jobs:
compile-pdfs:
runs-on: ubuntu-latest
container:
image: texlive/texlive:latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install LaTeX
run: |
sudo apt-get update
sudo apt-get install -y texlive-full
- name: Compile all LaTeX papers
run: |
mkdir -p pdfs
@@ -74,19 +77,7 @@ jobs:
name: compiled-papers
path: pdfs/*.pdf
retention-days: 90
- name: Create release with PDFs
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: softprops/action-gh-release@v1
with:
tag_name: papers-${{ github.sha }}
name: Zen Papers - ${{ github.sha }}
files: pdfs/*.pdf
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Commit PDFs back to repository
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |