feat(setup-magento)!: extension working dir changed to _ghamagento folder (#246)

BREAKING CHANGE: Previously, when using setup-magento in extension mode, the magento 2 repo root was ../magento2 (outside of the extension folder). Due to interactions with `cache-magento` we need to keep magento inside the GITHUB_WORKSPACE (the root repo). We now do this in the `_ghamagento` folder. If you rely on the `steps.setup-magento.outputs.path` nothing changes for you. But, if you hardcoded the path, it's likely broken.
This commit is contained in:
Damien Retzinger
2026-05-09 13:24:48 -04:00
parent f6a7355bd9
commit a729f8b2fd
+1 -1
View File
@@ -68,7 +68,7 @@ runs:
- run: | - run: |
MAGENTO_DIRECTORY="" MAGENTO_DIRECTORY=""
if [ "${{ inputs.mode }}" = 'extension' ]; then if [ "${{ inputs.mode }}" = 'extension' ]; then
MAGENTO_DIRECTORY="../magento2" MAGENTO_DIRECTORY="_ghamagento"
else else
MAGENTO_DIRECTORY="${{ inputs.working-directory }}" MAGENTO_DIRECTORY="${{ inputs.working-directory }}"
fi fi