]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add --if-present flag to prevent error when sass script does not exists 32682/head
authorLouis Chemineau <louis@chmn.me>
Wed, 1 Jun 2022 07:00:22 +0000 (09:00 +0200)
committerLouis Chemineau <louis@chmn.me>
Wed, 1 Jun 2022 07:04:26 +0000 (09:04 +0200)
Signed-off-by: Louis Chemineau <louis@chmn.me>
.github/workflows/command-compile.yml

index 24af3eff5cfa03cf0432133a4b5decab94ff9433..afcb4b362ad21da39d7b712396b3f9c299591f57 100644 (file)
@@ -87,10 +87,10 @@ jobs:
           npm run build --if-present
 
       - name: Build css
-        run: npm run sass
+        run: npm run --if-present sass
 
       - name: Build icons css
-        run: npm run sass:icons
+        run: npm run --if-present sass:icons
 
       - name: Commit and push default
         if: ${{ needs.init.outputs.arg1 != 'fixup' && needs.init.outputs.arg1 != 'amend' }}