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:
benbrummer 2025-02-06 21:52:04 +01:00 committed by GitHub
parent 5b0d372aa2
commit 44c1fa3bee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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: |