Skip to content

Commit 841670a

Browse files
authored
fix(integration): only run monolog fixup on v2.4.4 (#37)
1 parent 26c354d commit 841670a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/integration.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,16 @@ jobs:
9797
COMPOSER_AUTH: ${{ secrets.composer_auth }}
9898
name: Create Magento ${{ matrix.magento }} Project
9999

100+
- run: |
101+
echo "::set-output name=version::$(cat composer.json | jq '.require
102+
| with_entries( select(.key == "magento/product-community-edition" or .key == "magento/product-enterprise-edition") )
103+
| to_entries
104+
| .[0].value')"
105+
shell: bash
106+
working-directory: ${{ inputs.magento_directory }}
107+
name: Compute Installable Magento version
108+
id: magento-version
109+
100110
- name: Get Composer Cache Directory
101111
shell: bash
102112
working-directory: ${{ inputs.magento_directory }}
@@ -118,6 +128,8 @@ jobs:
118128
- run: composer require monolog/monolog:"<2.7.0" --no-update
119129
name: Fixup Monolog (https://github.com/magento/magento2/pull/35596)
120130
working-directory: ${{ inputs.magento_directory }}
131+
if: |
132+
steps.magento-version.outputs.version == '"2.4.4"'
121133
122134
- run: |
123135
composer config --no-interaction allow-plugins.dealerdirect/phpcodesniffer-composer-installer true

0 commit comments

Comments
 (0)