exclude vendor folder second attempt
Order of find was wrong in https://github.com/invoiceninja/invoiceninja/pull/10602. `-type` needs to be after `-o` Signed-off-by: benbrummer <info@benjamin-brummer.de>
This commit is contained in:
parent
5b0d372aa2
commit
44c1fa3bee
|
|
@ -58,7 +58,8 @@ jobs:
|
||||||
rm .env || true
|
rm .env || true
|
||||||
rm -rf ui || true
|
rm -rf ui || true
|
||||||
# Set permissions: directories 755, files 644
|
# Set permissions: directories 755, files 644
|
||||||
chmod -R a=r,u+w,a+X .
|
find . -path ./vendor -prune -o -type f -exec chmod 644 {} \+
|
||||||
|
find . -path ./vendor -prune -o -type d -exec chmod 755 {} \+
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue