typst-community/Setup Typst

📑 Install Typst and add it to the PATH with package management

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
typst-versionVersion range or exact version of Typst to use, using SemVer's version range syntax. Uses the latest version if unset.latest
allow-prereleasesWhen 'true', a version range including 'latest' passed to 'typst-version' input will match prerelease versions.false
executable-nameUsed to specify the executable file name of Typst.typst
typst-versions-fileUsed to specify a path to a configuration file (JSON, HJSON, YAML, TOML, XML, INI, or HCL) mapping executable names to Typst version configurations, for installing multiple Typst versions at once. The format is detected automatically from the file extension.no
typst-versions-jsonUsed to specify a JSON map of executable names to Typst version configurations.no
typst-versions-hjsonUsed to specify a HJSON map of executable names to Typst version configurations.no
typst-versions-yamlUsed to specify a YAML map of executable names to Typst version configurations.no
typst-versions-tomlUsed to specify a TOML map of executable names to Typst version configurations.no
typst-versions-xmlUsed to specify an XML document mapping executable names to Typst version configurations.no
typst-versions-iniUsed to specify an INI document mapping executable names to Typst version configurations.no
typst-versions-hclUsed to specify an HCL document mapping executable names to Typst version configurations.no
typst-versions-map[Deprecated] Used to specify a JSON map of executable names to Typst version configurations, for installing multiple Typst versions at once.no
cache-dependency-pathUsed to specify the path to a Typst file containing lines of 'import' keyword.no
zip-packagesUsed to specify the path to a JSON file containing names and ZIP archive URLs of packages.no
cache-local-packagesWhen 'true', local packages set by 'zip-packages' will be cached independently of '@preview' packages.false
tokenThe token used to authenticate when fetching Typst distributions from typst/typst. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.${{ github.server_url == 'https://github.com' && github.token || '' }}

no outputs