Contribution Date
Contribution Project
Contribution Details
Fix: conditional Drupal version installation based on PHP version
This commit addresses a CI failure where Drupal 11 (which requires PHP 8.3+)
was being installed on PHP 8.2 environments, causing a Composer dependency
error.
- Updates `.github/workflows/docker-buildx.yml` to conditionally install:
- `drupal/recommended-project:^10` for PHP 8.2 builds.
- The latest `drupal/recommended-project` (currently Drupal 11) for all other PHP versions.
- Passes the appropriate version string ("10.x" or "11.x") to the `install-drupal.sh` script.
This builds upon previous commits that consolidated the testing workflow
and fixed SQLite compilation for apache-bookworm.
Co-authored-by: hussainweb <1040271+hussainweb@users.noreply.github.com>
Contribution Issue Link
Files count
0
Patches count
1