Skip to content

Commit

Permalink
Try a different minifier as cleancss fails
Browse files Browse the repository at this point in the history
  • Loading branch information
lucjaulmes committed May 7, 2021
1 parent 36f03b6 commit 369c8cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_fonts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

- name: Install dependencies
run: |
sudo apt-get install zlib1g-dev fontforge cleancss
sudo apt-get install zlib1g-dev fontforge yui-compressor
for repo in bramstein/sfnt2woff-zopfli google/woff2 wget/sfnt2woff; do
dir=${TMPDIR:-/tmp}/${repo#*/}
Expand All @@ -35,7 +35,7 @@ jobs:
mv academicons.* fonts/
sed -i 's`url("./academicons\.`url("./fonts/academicons.`g' academicons-preview.html
sed -i 's`url("./academicons\.`url("../fonts/academicons.`g' css/academicons.css
cleancss -o css/academicons.min.css css/academicons.css
yui-compressor -o css/academicons.min.css css/academicons.css
- name: Archive production artifacts
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 369c8cb

Please sign in to comment.