mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
chore: fix composer version dependency for nightly (#97)
Nightly builds initialize the required php infra with composer create-project composer/satis:dev-main.
This pulls in composer 2.4.2 as a dependency at the time of writing.
However, the result is a broken upstream nightly and mageos nightly build.
When composer install is run while determining the base package dependencies. The error is:
- laminas/laminas-dependency-plugin 2.5.0 requires composer-plugin-api >=1.1.0 <2.3.0
-> found composer-plugin-api[2.3.0] but it does not match the constraint.
Reference
* [failed job](https://github.com/mage-os/generate-mirror-repo-js/actions/runs/3508445982/jobs/5876852570)
* [checkout magento action](https://github.com/mage-os/generate-mirror-repo-js/blob/main/.github/actions/checkout-magento/action.yml#L41)
* [shivammathur/setup-php tools input](https://github.com/shivammathur/setup-php#wrench-tools-support)
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
"magento/project-community-edition:next": {
|
||||
"magento": "magento/project-community-edition:next",
|
||||
"php": 8.1,
|
||||
"composer": 2,
|
||||
"composer": 2.2,
|
||||
"mysql": "mysql:8.0",
|
||||
"elasticsearch": "elasticsearch:7.17.5",
|
||||
"rabbitmq": "rabbitmq:3.9",
|
||||
@@ -107,4 +107,4 @@
|
||||
"nginx": "nginx:1.18",
|
||||
"os": "ubuntu-latest"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user