Skip to content

Commit 8eb54cd

Browse files
committed
build(ci): adjust font packaging paths
- change the zip command paths to correctly place archives in the workspace root - update the script to navigate into the 'iosevka-src/dist/IoskeleyMono' directory before zipping - ensure TTF and WOFF2 archives are created in the top level of the repository for easier access
1 parent 7321968 commit 8eb54cd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build-font.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,17 @@ jobs:
6262
# 8. Create separate ZIP archives for Desktop and Web users
6363
- name: Package font files into separate archives
6464
run: |
65-
# Navigate to the output directory to make zipping easier
65+
# Navigate into the main output directory
6666
cd iosevka-src/dist/IoskeleyMono
6767
68-
# Package the Hinted TTF fonts for desktop
69-
zip -r ../../IoskeleyMono-TTF-Hinted.zip TTF
68+
# Package the Hinted TTF fonts into the workspace root
69+
zip -r ../../../IoskeleyMono-TTF-Hinted.zip TTF
7070
71-
# Package the Unhinted TTF fonts for desktop
72-
zip -r ../../IoskeleyMono-TTF-Unhinted.zip TTF-Unhinted
71+
# Package the Unhinted TTF fonts into the workspace root
72+
zip -r ../../../IoskeleyMono-TTF-Unhinted.zip TTF-Unhinted
7373
74-
# Package all WOFF2 fonts for web use
75-
zip -r ../../IoskeleyMono-Web.zip WOFF2 WOFF2-Unhinted
74+
# Package all WOFF2 fonts into the workspace root
75+
zip -r ../../../IoskeleyMono-Web.zip WOFF2 WOFF2-Unhinted
7676
7777
# 9. Set the release version number
7878
- name: Set Release Version

0 commit comments

Comments
 (0)