fix: Install PHP / composer
Some checks failed
WordPress deployment / deploy (push) Failing after 6s

This commit is contained in:
2025-08-05 13:15:30 -04:00
parent ad56f204fa
commit 41e1a8b386

View File

@@ -6,6 +6,9 @@ jobs:
deploy:
runs-on: ubuntu-latest
container:
image: php:8.2-cli
env:
COMPOSER_CACHE_DIR: ~/.cache/composer
@@ -13,8 +16,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Show current working directory
run: pwd
- name: Install Composer (if not already installed)
run: |
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
- name: Display existing composer cache (if runner reused)
run: ls -la $COMPOSER_CACHE_DIR || echo "No cache found"