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

v1.0.0

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@v1.0.0

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.

Example usage

- uses: yusancky/setup-typst@v1
  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.