Skip to content

Commit 13b5525

Browse files
committed
workflow: flexible version
1 parent 4e42a8e commit 13b5525

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/mkdocs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ jobs:
4545
sudo apt install -y ./pandoc-3.7.0.2-1-amd64.deb
4646
sudo apt install -y texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra
4747
tlmgr init-usertree
48-
tlmgr repository add ftp://tug.org/historic/systems/texlive/2021/tlnet-final
48+
version=$(tlmgr --version | awk '/version/ {print $5}')
49+
tlmgr repository add ftp://tug.org/historic/systems/texlive/${version}/tlnet-final
4950
tlmgr repository remove https://mirror.ctan.org/systems/texlive/tlnet
50-
tlmgr option repository ftp://tug.org/historic/systems/texlive/2021/tlnet-final
51+
tlmgr option repository ftp://tug.org/historic/systems/texlive/${version}/tlnet-final
5152
tlmgr install sourcecodepro
5253
5354
- name: "Install Python dependencies"

0 commit comments

Comments
 (0)