Skip to content

Commit

Permalink
Update recipe to remove Paypal plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
maximehuran committed May 25, 2024
1 parent a9e5d05 commit c0c52de
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ jobs:
run: |
composer create-project --prefer-dist --no-scripts --no-progress --no-install sylius/sylius-standard sylius "${{ matrix.sylius }}"
- name: Remove Paypal plugin
run: |
composer create-project --prefer-dist --no-scripts --no-progress --no-install sylius/sylius-standard sylius "${{ matrix.sylius }}"
composer remove --no-install --no-scripts sylius/paypal-plugin
sed -i '' '/- { resource: "@SyliusPayPalPlugin\/Resources\/config\/config.yaml" }/d' config/packages/_sylius.yaml
sed -i '' '/sylius_paypal_admin:/{N;N;N;d;}' config/routes/sylius_admin.yaml
sed -i '' '/sylius_paypal:/{N;N;N;N;d;}' config/routes/sylius_shop.yaml
sed -i '' '/Sylius\\PayPalPlugin\\SyliusPayPalPlugin::class => \[.*\],/d' config/bundles.php
rm config/routes.yaml || true
# Because the sylius-standard has a soft constraint
- name: Make sure to install the required version of Sylius
working-directory: ./sylius
Expand Down

0 comments on commit c0c52de

Please sign in to comment.