Skip to content

Commit 9f830b3

Browse files
committed
Use PyTinyTeX instead in ci
1 parent 35035f6 commit 9f830b3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

‎.github/workflows/ci.yaml‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,13 @@ 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 "Adding TinyTeX to PATH"
43+
TINYTEX_PATH=$(python3 -c "import pytinytex; print(pytinytex.get_tinytex_path())")
44+
echo "$TINYTEX_PATH" >> $GITHUB_PATH
4345
- name: Install and configure Poetry
4446
run: |
4547
pip3 install -U poetry setuptools

0 commit comments

Comments
 (0)