From ce177daf0beaf9d04d19c3a28ce9c6472f052c49 Mon Sep 17 00:00:00 2001 From: JohnAlbin Date: Wed, 11 Oct 2023 01:07:35 +0800 Subject: [PATCH] ci(next): fix Drupal version constraints in Composer commands Fixes #545 --- .github/workflows/next.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/next.yml b/.github/workflows/next.yml index 2b8b840a..c495c7ab 100644 --- a/.github/workflows/next.yml +++ b/.github/workflows/next.yml @@ -47,7 +47,7 @@ jobs: run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - name: Setup Drupal run: | - COMPOSER_MEMORY_LIMIT=-1 composer create-project drupal/recommended-project:${{ matrix.drupal }} ~/drupal --no-interaction --no-install + COMPOSER_MEMORY_LIMIT=-1 composer create-project drupal/recommended-project:${{ matrix.drupal }}.x ~/drupal --no-interaction --no-install cd ~/drupal composer config extra.enable-patching true composer config extra.compile-mode all @@ -57,7 +57,7 @@ jobs: composer config repositories.0 path $GITHUB_WORKSPACE composer config repositories.1 composer https://packages.drupal.org/8 composer config allow-plugins true -n - COMPOSER_MEMORY_LIMIT=-1 composer require drupal/core-dev:${{ matrix.drupal }} --no-suggest --no-install + COMPOSER_MEMORY_LIMIT=-1 composer require drupal/core-dev --no-install composer install - name: Add phpspec/prophecy-phpunit run: |