mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-28 23:36:20 +01:00
Build multiple font weights in action (#355)
* Build multiple font thicknesses * Fontcustom empties directory during compilation
This commit is contained in:
10
.github/workflows/font.yml
vendored
10
.github/workflows/font.yml
vendored
@@ -46,10 +46,16 @@ jobs:
|
||||
run: sudo yarn add svg-outline-stroke -W
|
||||
|
||||
- name: "Outline SVG"
|
||||
run: mkdir converted_icons && node scripts/outline_svg.js
|
||||
run: node scripts/outline_svg.js
|
||||
|
||||
- name: Build 'Lucide'
|
||||
run: echo "Building Lucide font" && fontcustom compile ./converted_icons -h -n Lucide -o build -F
|
||||
run: |
|
||||
mkdir build
|
||||
list=(_200 _300 "" _500 _600)
|
||||
for name in "${list[@]}"
|
||||
do
|
||||
fontcustom compile "./converted_icons${name}" -h -n "Lucide${name}" -o ./tmp -F && mv ./tmp/* build
|
||||
done
|
||||
|
||||
- name: Zip 'Lucide'
|
||||
run: zip -r Lucide.zip build
|
||||
|
||||
Reference in New Issue
Block a user