typst-community / setup-typst

📑 Install Typst for use in GitHub Actions

Home Page:https://github.com/marketplace/actions/setup-typst

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

--root argument not found in typst 0.6.0

slashformotion opened this issue · comments

image

I am confused, your action download a version of typst that does not have the --root argument even tho it's in the changelog for v0.6.0
See: https://typst.app/docs/changelog/

It changes the way subcommands are handled. Rather than handling them using --fonts for example, it now uses cargo-like commands:

  • typst fonts prints the list of fonts
  • typst compile builds the project
  • typst watch watches the project

Arguments that are command to all commands have been moved to before the subcommand, meaning that font-path and root must precede the command, here is an example:

typst --root ../my_project build main.typ

See typst/typst#468 for more information.