Skip to content

Commit 0c718c6

Browse files
committed
Fix version conflicts
1 parent 3c16e49 commit 0c718c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/reusable-CI-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
php-version: '${{ inputs.php-min-version }}'
7171
symfony-version: '5.4'
7272
- job-name: Late migration - PHP # => Highest symfony version with lowest php version allowed by composer config
73-
php-version: '${{ inputs.php-min-version }}'
73+
php-version: ${{ ( inputs.symfony-max-version == '6.4' && inputs.php-min-version < 8.1 ) && '8.1' || inputs.php-min-version }} # Fix - Sf 6.4 require php 8.1 minimum !
7474
symfony-version: '${{ inputs.symfony-max-version }}'
7575
- job-name: Late migration - Symfony # => Lowest symfony version with highest php version allowed by composer config
7676
php-version: '${{ inputs.php-max-version }}'
@@ -241,7 +241,7 @@ jobs:
241241
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
242242
pkg-extra-constraints: behat/gherkin:~4.12.0
243243
- job-name: Symfony - With lowest supported PHP version
244-
php-version: ${{ inputs.php-min-version > 8.1 && inputs.php-min-version || '8.1' }} # Fix - Sf 6.3 (current next) require php 8.1 minimum !
244+
php-version: ${{ ( inputs.symfony-next-version == '7.0' && inputs.php-min-version < 8.1 ) && '8.1' || inputs.php-min-version }} # Fix - Sf 7.0 require php 8.1 minimum !
245245
symfony-version: ${{ inputs.symfony-next-version }}
246246
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
247247
pkg-extra-constraints: behat/gherkin:~4.12.0

0 commit comments

Comments
 (0)