From f5e3e79f24699e8d1881678d5936821bb0babaf4 Mon Sep 17 00:00:00 2001 From: Pomax Date: Sat, 27 Jun 2020 10:17:12 -0700 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e9010db..4ece74bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,20 +23,14 @@ jobs: - name: Installing TeX Live run: | - sudo apt-get update - sudo apt-get install xzdec libpoppler-glib-dev texlive texlive-xetex -y - - - name: Bootstrapping tlmgr - run: | - sudo tlmgr --version - set +e - tlmgr init-usertree - set -e - sudo tlmgr update --all - - - name: Installing pdfcrop - run: | - tlmgr install pdfcrop + mkdir -p /tmp/install-tl + cd /tmp/install-tl + MIRROR_URL="$(wget -q -S -O /dev/null http://mirror.ctan.org/ 2>&1 | sed -ne 's/.*Location: \(\w*\)/\1/p' | head -n 1)" + wget -nv "${MIRROR_URL}systems/texlive/tlnet/install-tl-unx.tar.gz" + tar --strip-components 1 -zxf /tmp/install-tl/install-tl-unx.tar.gz -C /tmp/install-tl/installer + /tmp/install-tl/installer/install-tl --profile=/root/texlive.profile + tlmgr update --self + tlmgr install collection-fontsrecommended collection-fontsextra collection-latexrecommended collection-xetex pdfcrop texliveonfly - name: Installing pdf2svg run: |