Skip to content

Commit

Permalink
⏪ revert: "✅ hotfix: remove "j" orthography temporarily"
Browse files Browse the repository at this point in the history
This reverts commit d398e8e.
  • Loading branch information
jonz94 committed May 6, 2024
1 parent e09ca35 commit 8d8867c
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 11 deletions.
30 changes: 27 additions & 3 deletions .github/workflows/generate-fonts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
strategy:
matrix:
styles: ['fixed', 'fixed-slab', 'mono', 'mono-slab']
orthographies: ['cl', 'hc', 'k', 'sc', 'tc']
orthographies: ['cl', 'hc', 'j', 'k', 'sc', 'tc']
variants:
[
'regular',
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
strategy:
matrix:
styles: ['term', 'term-slab', 'gothic', 'ui']
orthographies: ['cl', 'hc', 'k', 'sc', 'tc']
orthographies: ['cl', 'hc', 'j', 'k', 'sc', 'tc']
variants:
[
'regular',
Expand Down Expand Up @@ -292,7 +292,7 @@ jobs:
strategy:
matrix:
styles: ['fixed', 'fixed-slab', 'mono', 'mono-slab', 'term', 'term-slab', 'gothic', 'ui']
orthographies: ['cl', 'hc', 'k', 'sc', 'tc']
orthographies: ['cl', 'hc', 'j', 'k', 'sc', 'tc']
steps:
# start of part generated by `generate-download-patched-fonts` script
- uses: actions/download-artifact@v4
Expand Down Expand Up @@ -351,6 +351,9 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: sarasa-fixed-hc-nerd-font.zip
- uses: actions/download-artifact@v4
with:
name: sarasa-fixed-j-nerd-font.zip
- uses: actions/download-artifact@v4
with:
name: sarasa-fixed-k-nerd-font.zip
Expand All @@ -366,6 +369,9 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: sarasa-fixed-slab-hc-nerd-font.zip
- uses: actions/download-artifact@v4
with:
name: sarasa-fixed-slab-j-nerd-font.zip
- uses: actions/download-artifact@v4
with:
name: sarasa-fixed-slab-k-nerd-font.zip
Expand All @@ -381,6 +387,9 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: sarasa-mono-hc-nerd-font.zip
- uses: actions/download-artifact@v4
with:
name: sarasa-mono-j-nerd-font.zip
- uses: actions/download-artifact@v4
with:
name: sarasa-mono-k-nerd-font.zip
Expand All @@ -396,6 +405,9 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: sarasa-mono-slab-hc-nerd-font.zip
- uses: actions/download-artifact@v4
with:
name: sarasa-mono-slab-j-nerd-font.zip
- uses: actions/download-artifact@v4
with:
name: sarasa-mono-slab-k-nerd-font.zip
Expand All @@ -411,6 +423,9 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: sarasa-term-hc-nerd-font.zip
- uses: actions/download-artifact@v4
with:
name: sarasa-term-j-nerd-font.zip
- uses: actions/download-artifact@v4
with:
name: sarasa-term-k-nerd-font.zip
Expand All @@ -426,6 +441,9 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: sarasa-term-slab-hc-nerd-font.zip
- uses: actions/download-artifact@v4
with:
name: sarasa-term-slab-j-nerd-font.zip
- uses: actions/download-artifact@v4
with:
name: sarasa-term-slab-k-nerd-font.zip
Expand All @@ -441,6 +459,9 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: sarasa-gothic-hc-nerd-font.zip
- uses: actions/download-artifact@v4
with:
name: sarasa-gothic-j-nerd-font.zip
- uses: actions/download-artifact@v4
with:
name: sarasa-gothic-k-nerd-font.zip
Expand All @@ -456,6 +477,9 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: sarasa-ui-hc-nerd-font.zip
- uses: actions/download-artifact@v4
with:
name: sarasa-ui-j-nerd-font.zip
- uses: actions/download-artifact@v4
with:
name: sarasa-ui-k-nerd-font.zip
Expand Down
8 changes: 3 additions & 5 deletions scripts/generate-download-patched-zips.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ Clear-Content $outputFile

$counter = 0
$styles = "fixed", "fixed-slab", "mono", "mono-slab", "term", "term-slab", "gothic", "ui"
$orthographies = "cl", "hc", "j", "k", "sc", "tc"

# $orthographies = "cl", "hc", "j", "k", "sc", "tc"
$orthographies = "cl", "hc", "k", "sc", "tc"

foreach ($style in $styles) {
foreach ($orthography in $orthographies) {
foreach($style in $styles) {
foreach($orthography in $orthographies) {
$uses = '.jobs.job.steps[' + $counter + '].uses = \"actions/download-artifact@v4\"'
$name = '.jobs.job.steps[' + $counter + '].with.name = \"sarasa-' + $style + '-' + $orthography + '-nerd-font.zip\"'

Expand Down
4 changes: 1 addition & 3 deletions scripts/generate-download-patched-zips.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ touch $outputFile

counter=0
styles=("fixed" "fixed-slab" "mono" "mono-slab" "term" "term-slab" "gothic" "ui")

#orthographies=("cl" "hc" "j" "k" "sc" "tc")
orthographies=("cl" "hc" "k" "sc" "tc")
orthographies=("cl" "hc" "j" "k" "sc" "tc")

for style in ${styles[@]}; do
for orthography in ${orthographies[@]}; do
Expand Down

0 comments on commit 8d8867c

Please sign in to comment.