From 8534a592a7e868c5fafb8dc2768d899491e98b6e Mon Sep 17 00:00:00 2001 From: gggeek Date: Thu, 24 Nov 2022 09:33:00 +0000 Subject: [PATCH] mots --- .github/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc40d916..37b6a2cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,11 +52,10 @@ jobs: sudo --preserve-env=GITHUB_ACTIONS ./tests/ci/setup/setup_privoxy.sh sudo --preserve-env=GITHUB_ACTIONS ./tests/ci/setup/setup_php.sh ${{ matrix.php }} sudo --preserve-env=GITHUB_ACTIONS ./tests/ci/setup/setup_composer.sh - # fix fs perms for recent Apache versions - chmod 775 . .. - find demo -type d -exec chmod 775 {} \; - find demo -type f -exec chmod 664 {} \; - pwd + # fix fs perms for recent Apache versions configuration (ie. starting from Jammy) + f="$(pwd)"; while [[ $f != / ]]; do sudo chmod +rx "$f"; f=$(dirname "$f"); done; + find . -type d -exec chmod 775 {} \; + find . -type f -exec chmod 664 {} \; # Avoid downloading composer deps on every workflow. Is this useful/working for us? #- -- 2.47.0