Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
download

GitHub Action

Setup Typst

v0.1

Setup Typst

download

Setup Typst

A cross-OS action for installing Typst

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup Typst

uses: typst-community/[email protected]

Learn more about this action in typst-community/setup-typst

Choose a version

Setup Typst

Setup Typst in GitHub Actions (currently only supported for Windows).

Inputs

token

The token used to authenticate when fetching Typst distributions. 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.

version

Exact version of Typst to use.

Example usage

- uses: yusancky/[email protected]
  id: setup-typst
  with:
    version: 'v0.2.0'
- run: typst compile file.typ

You can also use the additional uses given in Usage in the Typst documentation.