Action: setup-magento
Status: 🔴 Needs update
Files: setup-magento/action.yml
Summary of differences
| Area |
Graycore (source of truth) |
Mage-OS (fork) |
| Default PHP version |
8.4 |
8.3 |
Default magento_version |
magento/project-community-edition:2.4.8-p3 |
~2.4.7-p4 |
composer_auth input |
Present |
Absent |
COMPOSER_AUTH env on composer steps |
Present |
Absent |
| Internal action ref |
graycoreio/github-actions-magento2/fix-magento-install@main |
mage-os/github-actions/fix-magento-install@main |
Dependents (mage-os/github-actions consumers)
No external repos depend on setup-magento directly (per dependents.md).
Changes needed in mage-os fork
- Bump default PHP version from
8.3 to 8.4
- Update default
magento_version from ~2.4.7-p4 to magento/project-community-edition:2.4.8-p3
- Add
composer_auth input (required: false, description: "Composer Authentication Credentials")
- Add
COMPOSER_AUTH: ${{ inputs.composer_auth }} env to all relevant composer steps (install, require, etc.)
Internal workflow impact
After this action is updated, _internal-setup-magento.yaml also needs:
- Add
MAGENTO_COMPOSER_REPO: "https://mirror.mage-os.org/" workflow-level env var
- Bump
actions/checkout from v4 to v6 (two occurrences) and actions/cache from v4 to v5
- Add
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }} env to all composer steps
- Add
composer_auth: ${{ secrets.COMPOSER_AUTH }} and magento_repository: ${{ env.MAGENTO_COMPOSER_REPO }} inputs to setup-magento step
- Switch
cache-magento refs to ./cache-magento and remove mode: inputs (after update-cache-magento PR merges)
- Bump smoke test PHP to
8.4, Composer to v2.8, Magento to 2.4.8-p3
Action: setup-magento
Status: 🔴 Needs update
Files:
setup-magento/action.ymlSummary of differences
8.48.3magento_versionmagento/project-community-edition:2.4.8-p3~2.4.7-p4composer_authinputCOMPOSER_AUTHenv on composer stepsgraycoreio/github-actions-magento2/fix-magento-install@mainmage-os/github-actions/fix-magento-install@mainDependents (mage-os/github-actions consumers)
No external repos depend on
setup-magentodirectly (per dependents.md).Changes needed in mage-os fork
8.3to8.4magento_versionfrom~2.4.7-p4tomagento/project-community-edition:2.4.8-p3composer_authinput (required: false, description: "Composer Authentication Credentials")COMPOSER_AUTH: ${{ inputs.composer_auth }}env to all relevant composer steps (install, require, etc.)Internal workflow impact
After this action is updated,
_internal-setup-magento.yamlalso needs:MAGENTO_COMPOSER_REPO: "https://mirror.mage-os.org/"workflow-level env varactions/checkoutfromv4tov6(two occurrences) andactions/cachefromv4tov5COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}env to all composer stepscomposer_auth: ${{ secrets.COMPOSER_AUTH }}andmagento_repository: ${{ env.MAGENTO_COMPOSER_REPO }}inputs tosetup-magentostepcache-magentorefs to./cache-magentoand removemode:inputs (afterupdate-cache-magentoPR merges)8.4, Composer tov2.8, Magento to2.4.8-p3