SYSU-SCC / sysu-thesis

中山大学 LaTeX 论文项目模板
GNU General Public License v3.0
558 stars 71 forks source link

Fix CI compile error #60

Closed xuantengh closed 1 year ago

xuantengh commented 1 year ago

Running apt-add-repository non-free and apt-add-repository contrib commands inside the texlive/texlive container will lead to CI error due to the mis-match between output of lsb_release -r and the desired output of Python packet aptsources (see details here). This CI fails all other PRs to this project.

This PR offers a workaround by adding contrib and non-free sources via modifying /etc/apt/sources.list file directly with sed.