From 369c8cb970c4882e68f39da257b8112bfcc41f0a Mon Sep 17 00:00:00 2001 From: LucJaulmes Date: Fri, 7 May 2021 16:14:53 +0200 Subject: [PATCH] Try a different minifier as cleancss fails --- .github/workflows/build_fonts.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_fonts.yml b/.github/workflows/build_fonts.yml index 8236e69..874b49d 100644 --- a/.github/workflows/build_fonts.yml +++ b/.github/workflows/build_fonts.yml @@ -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#*/} @@ -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