From: gggeek Date: Thu, 24 Nov 2022 09:33:00 +0000 (+0000) Subject: mots X-Git-Tag: 4.9.0~34 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8534a592a7e868c5fafb8dc2768d899491e98b6e;p=plcapi.git mots --- 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? #-