Skip to content

Commit

Permalink
ci: update font version in ci workflow
Browse files Browse the repository at this point in the history
- update the font version from "2.1.0" to "v3.2.1" in the ci workflow file.
  • Loading branch information
falcucci committed Sep 19, 2024
1 parent 865d414 commit 1e74fa5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,19 @@ jobs:
"CascadiaCode"
"UbuntuMono"
)
VERSION="2.1.0"
VERSION="v3.2.1"
EXTENSION=".zip"
FONT_DIR="${HOME}/.local/share/fonts"
mkdir -p "$FONT_DIR"
for font in "${fonts[@]}"; do
ZIP_FILE="${font}${EXTENSION}"
DOWNLOAD_URL="https://github.com/ryanoasis/nerd-fonts/releases/download/${VERSION}/${ZIP_FILE}"
echo "Downloading and installing '$font'..."
wget --quiet "$DOWNLOAD_URL" -O "$ZIP_FILE"
unzip -q "$ZIP_FILE" -d "$FONT_DIR"
rm "$ZIP_FILE"
echo "'$font' installed successfully."
ZIP_FILE="${font}${EXTENSION}"
DOWNLOAD_URL="https://github.com/ryanoasis/nerd-fonts/releases/download/${VERSION}/${ZIP_FILE}"
echo "Downloading and installing '$font'..."
wget --quiet "$DOWNLOAD_URL" -O "$ZIP_FILE"
unzip -q "$ZIP_FILE" -d "$FONT_DIR"
rm "$ZIP_FILE"
echo "'$font' installed successfully."
done
# Refresh font cache
Expand Down

0 comments on commit 1e74fa5

Please sign in to comment.