Skip to content

Commit

Permalink
ci: update font installations and remove unnecessary ones in windows …
Browse files Browse the repository at this point in the history
…workflow

- update the font installations in the windows workflow
- remove unnecessary font installations from the windows workflow
  • Loading branch information
falcucci committed Sep 19, 2024
1 parent ba6f9f5 commit 7dfec7d
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ jobs:
scoop install git
scoop bucket add extras
scoop bucket add nerd-fonts
scoop install Monaspace-NF FiraCode-NF ProFont-NF Cascadia-Code CascadiaCode-NF CascadiaMono-NF CascadiaCode-NF-Mono CascadiaCode-NF-Propo Noto-NF
scoop install Monaspace-NF FiraCode-NF ProFont-NF CascadiaCode-NF Noto-NF
- name: Restart font cache
if: matrix.os == 'windows-2022'
Expand All @@ -208,14 +208,11 @@ jobs:
}
"@
$fontPaths = @(
"$env:USERPROFILE\scoop\apps\FiraCode-NF\current\*.ttf",
"$env:USERPROFILE\scoop\apps\ProFont-NF\current\*.ttf",
"$env:USERPROFILE\scoop\apps\Cascadia-Code\current\*.ttf",
"$env:USERPROFILE\scoop\apps\CascadiaCode-NF\current\*.ttf",
"$env:USERPROFILE\scoop\apps\CascadiaMono-NF\current\*.ttf",
"$env:USERPROFILE\scoop\apps\CascadiaCode-NF-Mono\current\*.ttf",
"$env:USERPROFILE\scoop\apps\CascadiaCode-NF-Propo\current\*.ttf",
"$env:USERPROFILE\scoop\apps\Noto-NF\current\*.ttf"
"$env:USERPROFILE\scoop\apps\Monaspace-NF\current\*.ttf",
"$env:USERPROFILE\scoop\apps\FiraCode-NF\current\*.ttf",
"$env:USERPROFILE\scoop\apps\ProFont-NF\current\*.ttf",
"$env:USERPROFILE\scoop\apps\CascadiaCode-NF\current\*.ttf",
"$env:USERPROFILE\scoop\apps\Noto-NF\current\*.ttf"
)
foreach ($path in $fontPaths) {
if (Test-Path -Path $path) {
Expand Down

0 comments on commit 7dfec7d

Please sign in to comment.