mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user