diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 203257a..f791ebd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,20 +9,15 @@ jobs: uses: actions/checkout@v2 - name: Install LaTeX - uses: xu-cheng/texlive-action@v2 + uses: xu-cheng/texlive-action@v2 with: texlive_year: 'latest' - packages: make g++ zip + packages: make g++ zip - - name: Find texmf.cnf + - name: Increase LaTeX memory run: | - find /usr/local/texlive -name texmf.cnf - - - name: Increase LaTeX memory (if needed) - run: | - TEXMFCNF=$(find /usr/local/texlive -name texmf.cnf) - sudo sed -i 's/main_memory = 1500000/main_memory = 4000000/' "$TEXMFCNF" - sudo sed -i 's/pool_size = 5000000/pool_size = 8000000/' "$TEXMFCNF" + sudo tlmgr conf texmf main_memory 4000000 + sudo tlmgr conf texmf pool_size 8000000 sudo fmtutil-sys --all - name: Build PDF