Files
github-actions-magento2/setup-install/action.yml
T

37 lines
1.1 KiB
YAML

name: "Magento setup:install"
author: "Graycore"
description: "A GitHub Action that runs bin/magento setup:install, deriving service flags from the supported-version services matrix."
inputs:
services:
required: false
default: "null"
description: "JSON string of the services key from the supported-version matrix entry (toJSON(matrix.services))."
path:
required: false
default: "."
description: "Path to the Magento root directory. Accepts the output of the setup-magento action."
extra_args:
required: false
default: ""
description: "Additional raw flags to append to the setup:install command."
container_id:
required: false
default: ""
description: "When set, runs setup:install via `docker exec` inside the container with this `container_id` (typically the value of `job.services['php-fpm'].id`) and uses service-network aliases (mysql, redis, etc.) instead of runner-side localhost when running setup:install."
outputs:
command:
description: "The full bin/magento setup:install command that was run."
runs:
using: "node24"
main: "dist/index.js"
branding:
icon: "tool"
color: "orange"