diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c9b348a..00cd955 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,7 @@ defaults: env: FONTS: "Monaspace FiraCode ProFont CascadiaCode Noto" + BREW_FONTS: "font-monaspace font-fira-code-nerd-font font-profont-nerd-font font-caskaydia-cove-nerd-font font-monaspace-nerd-font font-noto-nerd-font" VERSION: "v3.2.1" EXTENSION: ".zip" @@ -114,12 +115,7 @@ jobs: ) if [[ $RUNNER_OS == "macOS" ]]; then curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh && brew upgrade - brew install font-monaspace - brew install font-fira-code-nerd-font - brew install font-profont-nerd-font - brew install font-caskaydia-cove-nerd-font - brew install font-monaspace-nerd-font - brew install font-noto-nerd-font + brew install ${{ env.BREW_FONTS }} elif [[ $RUNNER_OS == "Linux" ]]; then FONT_DIR="${HOME}/.local/share/fonts" mkdir -p "$FONT_DIR"