This commit is contained in:
parent
d4d4a9202a
commit
0e79599606
1 changed files with 11 additions and 0 deletions
|
|
@ -48,6 +48,13 @@ jobs:
|
||||||
extensions: pdo_pgsql, mbstring, xml, dom, intl
|
extensions: pdo_pgsql, mbstring, xml, dom, intl
|
||||||
coverage: pcov
|
coverage: pcov
|
||||||
|
|
||||||
|
# Debugging cache miss issue (#16) — check if /usr/local/php exists after setup-php
|
||||||
|
- name: Debug PHP install path
|
||||||
|
run: |
|
||||||
|
ls -la /usr/local/php 2>&1 || echo "/usr/local/php does not exist"
|
||||||
|
which php
|
||||||
|
php -v
|
||||||
|
|
||||||
# Debugging cache miss issue (#16) — ACTIONS_STEP_DEBUG enabled to inspect save/restore
|
# Debugging cache miss issue (#16) — ACTIONS_STEP_DEBUG enabled to inspect save/restore
|
||||||
- name: Cache Composer dependencies
|
- name: Cache Composer dependencies
|
||||||
uses: https://data.forgejo.org/actions/cache@v4
|
uses: https://data.forgejo.org/actions/cache@v4
|
||||||
|
|
@ -56,6 +63,10 @@ jobs:
|
||||||
key: composer-${{ hashFiles('composer.lock') }}
|
key: composer-${{ hashFiles('composer.lock') }}
|
||||||
restore-keys: composer-
|
restore-keys: composer-
|
||||||
|
|
||||||
|
# Debugging cache miss issue (#16) — check if ~/.composer/cache exists before/after install
|
||||||
|
- name: Debug composer cache path (before install)
|
||||||
|
run: ls -la ~/.composer/cache 2>&1 || echo "~/.composer/cache does not exist yet"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer install --no-interaction --prefer-dist
|
run: composer install --no-interaction --prefer-dist
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue