aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-06-02 17:01:18 +0200
committerGitHub <noreply@github.com>2022-06-02 17:01:18 +0200
commit07b53b9d4163e8fcc6ab231f770edb4a984c68a7 (patch)
tree032a956a8cf40e75e61c1382b6923ab39582ecfd
parentca45e6a0640cc1bc758da38629d6f5741df511de (diff)
parent9566fb8007bcf22b7e6ec6324c241157b93fb356 (diff)
downloadnextcloud-server-07b53b9d4163e8fcc6ab231f770edb4a984c68a7.tar.gz
nextcloud-server-07b53b9d4163e8fcc6ab231f770edb4a984c68a7.zip
Merge pull request #32682 from nextcloud/fix/compile_cmd_sass_cmd
Add --if-present flag to prevent error when sass script does not exists
-rw-r--r--.github/workflows/command-compile.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/command-compile.yml b/.github/workflows/command-compile.yml
index 24af3eff5cf..afcb4b362ad 100644
--- a/.github/workflows/command-compile.yml
+++ b/.github/workflows/command-compile.yml
@@ -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' }}