Skip to content

Commit 585f6bb

Browse files
committed
Use PyTinyTeX instead in ci
1 parent 35035f6 commit 585f6bb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ jobs:
3535
python-version: ${{ matrix.python-version }}
3636
- name: Print Python Information
3737
run: python -VV
38-
- name: Specify tinytex mirror (CTAN_REPO)
38+
- name: Install TinyTeX
3939
run: |
40-
echo "CTAN_REPO=https://mirrors.dotsrc.org/ctan/" >> $GITHUB_ENV
41-
- name: install TinyTeX
42-
uses: r-lib/actions/setup-tinytex@v2
40+
pip3 install -U pytinytex
41+
python3 -c "import pytinytex; pytinytex.download_tinytex()"
42+
echo "$(python3 -c 'import pytinytex; print(pytinytex.get_tinytex_path())')" >> $GITHUB_PATH
43+
echo "$(python3 -c 'import pytinytex; print(pytinytex.get_pdf_latex_engine())')" >> $GITHUB_ENV
4344
- name: Install and configure Poetry
4445
run: |
4546
pip3 install -U poetry setuptools

0 commit comments

Comments
 (0)