From a729f8b2fda45af7c4a4cd0bbe32bdf5151bf125 Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Sat, 9 May 2026 13:24:48 -0400 Subject: [PATCH] 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. --- setup-magento/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-magento/action.yml b/setup-magento/action.yml index 9c97590..2e0e206 100644 --- a/setup-magento/action.yml +++ b/setup-magento/action.yml @@ -68,7 +68,7 @@ runs: - run: | MAGENTO_DIRECTORY="" if [ "${{ inputs.mode }}" = 'extension' ]; then - MAGENTO_DIRECTORY="../magento2" + MAGENTO_DIRECTORY="_ghamagento" else MAGENTO_DIRECTORY="${{ inputs.working-directory }}" fi