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

v2.0.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/setup-typst@v2.0.1

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

Choose a version

Setup Typst

A cross-OS action for installing Typst.

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. Input latest if you want to use latest version of Typst.

Warning Setup Typst v2.0 does not support Typst v0.1.0 or v0.2.0. If you want to use an old version, use v1.

Example usage

- uses: yusancky/setup-typst@v2
  id: setup-typst
  with:
    version: 'v0.5.0'
- run: typst compile file.typ

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