Skip to content

Commit

Permalink
condition added for 10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kedarkhaire authored Sep 24, 2024
1 parent 54c2187 commit c4b753f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ jobs:
composer config --no-plugins allow-plugins.cweagans/composer-patches true
composer config --no-plugins allow-plugins.php-http/discovery true
composer config minimum-stability dev
composer require 'drupal/rules:3.x-dev@dev'
composer require wikimedia/composer-merge-plugin
composer config --json extra.merge-plugin.require '["modules/contrib/apigee_edge/composer.json"]'
composer config platform.php ${{ matrix.php-version }}
Expand All @@ -107,6 +106,13 @@ jobs:
- name: "Allow plugins and dev dependencies for Drupal 10.2"
if: ${{ matrix.drupal-core == '10.2.x' }}
run: |
cd drupal
composer require 'drupal/rules:3.x-dev@dev'
composer update --with-all-dependencies
- name: "Allow plugins and dev dependencies for Drupal 10.3"
if: ${{ matrix.drupal-core == '10.3.x' }}
run: |
cd drupal
composer require 'drupal/rules:^4.0'
Expand Down

0 comments on commit c4b753f

Please sign in to comment.