Skip to content

Commit

Permalink
Fix Paypal version in recipe with Sylius 1.12 and PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
maximehuran committed May 25, 2024
1 parent dc00da9 commit e6a1bd0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
matrix:
php: ['8.0', '8.1']
sylius: ['~1.10.0', '~1.11.0', '~1.12.0']
include:
- php: '8.1'
sylius: '~1.12.0'
sylius_paypal: '~1.5.0'

steps:
- name: Setup PHP
Expand Down Expand Up @@ -58,6 +62,14 @@ jobs:
run: |
composer require --no-install --no-scripts --no-progress sylius/sylius="${{ matrix.sylius }}"
# Fix Paypal 1.5 on Sylius 1.12 and PHP 8.1
- name: Make sure to install the required version of Sylius Paypal Plugin
if: ${{ matrix.sylius_paypal }}
working-directory: ./sylius
run: |
composer require --no-install --no-scripts --no-progress sylius/paypal-plugin="~1.5.0" # @see https://github.com/Sylius/PayPalPlugin/issues/295
- name: Setup some requirements
working-directory: ./sylius
run: |
Expand Down

0 comments on commit e6a1bd0

Please sign in to comment.