Skip to content

Commit 642a367

Browse files
committed
Fix
1 parent a464ec3 commit 642a367

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,13 +246,15 @@ jobs:
246246
php-version: ${{ needs.fetch-supported-versions.outputs.php-max }}
247247
symfony-version: ${{ needs.fetch-supported-versions.outputs.symfony-next }}
248248
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
249-
pkg-extra-constraints: behat/gherkin:~4.12.0
249+
# Fix - symfony/framework-bundle - Framework bundle <7.0 require php 8.1 minimum !
250+
pkg-extra-constraints: behat/gherkin:~4.12.0 ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.0' && needs.fetch-supported-versions.outputs.php-max == '8.4' ) && 'symfony/framework-bundle:~7.0.0@dev' || '' }}
250251
- job-name: Symfony - With lowest supported PHP version
251252
# Fix - Sf 7.0 require php 8.1 minimum, most of deps require 8.2 !
252-
php-version: ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.0' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && '8.1' || needs.fetch-supported-versions.outputs.php-min }}
253+
php-version: ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.0' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && '8.2' || needs.fetch-supported-versions.outputs.php-min }}
253254
symfony-version: ${{ needs.fetch-supported-versions.outputs.symfony-next }}
254255
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
255-
pkg-extra-constraints: behat/gherkin:~4.12.0
256+
# Fix - symfony/framework-bundle - Framework bundle <7.0 require php 8.1 minimum !
257+
pkg-extra-constraints: behat/gherkin:~4.12.0 ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.0' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && 'symfony/framework-bundle:~7.0.0@dev' || '' }}
256258

257259
steps:
258260
- name: Check out code

0 commit comments

Comments
 (0)