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: |