mirror of https://github.com/nextcloud/server
Add --if-present flag to prevent error when sass script does not exists
Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
e6177afeda
commit
9566fb8007
|
@ -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' }}
|
||||
|
|
Loading…
Reference in New Issue