From e25a2d6dacd75055e04d6d1047cb706f1ad01bf5 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 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/next.yml b/.github/workflows/next.yml index 2b8b840a..ebac5b42 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 @@ -56,8 +56,7 @@ jobs: composer config preferred-install dist 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: |