Skip to content

Commit ce7a25a

Browse files
digitalrisedorsetHerve Tribouilloy
andauthored
feat(setup-magento): add composer_auth support (#357)
Co-authored-by: Herve Tribouilloy <herve@digitalrisedorset.co.uk>
1 parent 6e58a15 commit ce7a25a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

setup-magento/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ inputs:
4545
default: "."
4646
description: "The working directory to run the action in."
4747

48+
composer_auth:
49+
required: false
50+
default: ""
51+
description: "Composer authentication credentials (contents of auth.json as a JSON string)"
52+
4853
outputs:
4954
path:
5055
description: "The absolute path to where Magento was set up."
@@ -83,6 +88,8 @@ runs:
8388
shell: bash
8489
name: Create Magento ${{ inputs.magento_version }} Project
8590
if: inputs.mode == 'extension'
91+
env:
92+
COMPOSER_AUTH: ${{ inputs.composer_auth }}
8693

8794
- uses: mage-os/github-actions/fix-magento-install@main
8895
name: Fix Magento Out of Box Install Issues

0 commit comments

Comments
 (0)