diff options
author | Louis Chemineau <louis@chmn.me> | 2022-06-01 09:00:22 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-06-01 09:04:26 +0200 |
commit | 9566fb8007bcf22b7e6ec6324c241157b93fb356 (patch) | |
tree | 03758f2ca9efdedce7d83108a6220aa10c58d063 /.github | |
parent | e6177afeda0e2e9374e37b1131e131af2c4f6da3 (diff) | |
download | nextcloud-server-9566fb8007bcf22b7e6ec6324c241157b93fb356.tar.gz nextcloud-server-9566fb8007bcf22b7e6ec6324c241157b93fb356.zip |
Add --if-present flag to prevent error when sass script does not exists
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/command-compile.yml | 4 |
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' }} |