Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to install tinytex as part of install-quarto #10

Merged
merged 13 commits into from
Mar 31, 2022
Merged

Conversation

cderv
Copy link
Collaborator

@cderv cderv commented Mar 31, 2022

This PR allows to install TinyTeX as part of install-quarto step

Syntax will be this one

      - uses: quarto-dev/quarto-actions/install-quarto@v1
        with:
          tinytex: true

paths to binaries are computed based on logic in tinytex.ts in quarto-cli and added manually to PATH by the action as quarto tools install tinytex won't do it correctly in GHA runners

On Windows, the action is taking several minutes (~10-14min) because of how long it takes for unzipping TinyTeX bundles using Deno unzip which uses Expand-Archive on Windows which is quite long. There is room for improvement.
(I am wondering about using scoop install tinytex or chocolatey that are faster).

@cderv cderv merged commit 25e5f40 into main Mar 31, 2022
@cderv cderv deleted the install-latex branch March 31, 2022 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant