From 79e000569b4b6937a69888a0f4c9abdf45faa48b Mon Sep 17 00:00:00 2001 From: Alexsander Falcucci Date: Thu, 19 Sep 2024 19:36:57 +0200 Subject: [PATCH] fix: improve ci workflow for font check - fix typo in the conditional statement for font check in ci workflow --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d129ede..9dce459 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,7 +111,7 @@ jobs: for font in "${fonts[@]}"; do ZIP_FILE="${font}${EXTENSION}" - if [[ -f "$font" == "Monaspace" ]]; then + if [[ "$font" == "Monaspace" ]]; then DOWNLOAD_URL="https://github.com/githubnext/monaspace/releases/download/v1.101/monaspace-v1.101.zip" else DOWNLOAD_URL="https://github.com/ryanoasis/nerd-fonts/releases/download/${VERSION}/${ZIP_FILE}"