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

GitHub Action

Setup Fontist

v1.0.1

Setup Fontist

play

Setup Fontist

๐Ÿ”  Install Fontist for GitHub Actions

Installation

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

              

- name: Setup Fontist

uses: fontist/setup-fontist@v1.0.1

Learn more about this action in fontist/setup-fontist

Choose a version

Setup Fontist

๐Ÿ”  Install Fontist for GitHub Actions

- uses: fontist/setup-fontist@v1
- run: fontist install "Fira Code"

๐Ÿ’Ž Uses Ruby to install the fontist Ruby gem
๐ŸŸฆ Works with Windows
๐Ÿ”  Lets you install additional fonts

Usage

GitHub Actions GitHub

on: push
jobs:
  job:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: jcbhmr/setup-fontist@v1
      - run: fontist install "Fira Code"

โš ๏ธ This action takes a while (~1 minute). There's currently no caching. Caching is planned for the future.

Inputs

  • setup-ruby: Whether or not to run ruby/setup-ruby or to assume that the user has supplied an appropriate global Ruby installation. Defaults to true. Set this to false to provide your own custom Ruby installation.

  • fontist-version: An exact version of the fontist Ruby gem to install. Defaults to 1.19.0.

Development

GNU Bash

TODO: Add development section