Skip to content

Commit e4044eb

Browse files
authored
Refactor Composer installation and enhance debugging
Removed duplicate step for installing Composer dependencies and added additional debug information.
1 parent eb7e9c6 commit e4044eb

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/php.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,19 +93,24 @@ jobs:
9393
- 30
9494
steps:
9595
- uses: actions/checkout@v5
96+
with:
97+
working-directory: /var/www/html/apps/
98+
- name: Install and Cache Composer dependencies
99+
uses: ramsey/composer-install@v3
100+
with:
101+
working-directory: /var/www/html/apps/solid
102+
env:
103+
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
96104
- name: Debug info
97105
run: |
98106
echo " =====> PWD:'$PWD'"
99107
ls -lA "$PWD"
100108
echo " =====> GITHUB_WORKSPACE:'${GITHUB_WORKSPACE}'"
101109
ls -lA "$GITHUB_WORKSPACE"
102110
echo ' =====> ${GITHUB_WORKSPACE}/solid/'
103-
- name: Install and Cache Composer dependencies
104-
uses: ramsey/composer-install@v3
105-
with:
106-
working-directory: /var/www/html/apps/solid
107-
env:
108-
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
111+
ls -lA "${GITHUB_WORKSPACE}/solid/"
112+
echo ' =====> /var/www/html/apps/solid'
113+
ls -lA "/var/www/html/apps/solid"
109114
- name: Run PHPUnit
110115
run: |
111116
${GITHUB_WORKSPACE}/solid/bin/phpunit \

0 commit comments

Comments
 (0)