mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
[CI] Improve fixing permissions for Symfony logs dir
This commit is contained in:
parent
5444745ae1
commit
c55c0e38b1
1 changed files with 4 additions and 3 deletions
7
.github/workflows/ci_e2e-mysql.yaml
vendored
7
.github/workflows/ci_e2e-mysql.yaml
vendored
|
|
@ -104,10 +104,11 @@ jobs:
|
|||
symfony_version: ${{ matrix.symfony }}
|
||||
node_version: "20.x"
|
||||
|
||||
- name: Fix permissions for var/log
|
||||
- name: Fix permissions for Symfony logs directory
|
||||
run: |
|
||||
mkdir -p var/log
|
||||
chmod -R 777 var/log
|
||||
LOGS_DIR=$(bin/console debug:container --parameter=kernel.logs_dir | grep 'kernel.logs_dir' | awk '{print $2}')
|
||||
mkdir -p "$LOGS_DIR"
|
||||
chmod -R 777 "$LOGS_DIR"
|
||||
|
||||
- name: Test installer
|
||||
run: bin/console sylius:install --no-interaction -vvv
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue