feat(setup-di-compile): restore setup-di-compile as a lean action (#239)

This commit is contained in:
Damien Retzinger
2026-05-06 10:51:27 -04:00
committed by GitHub
parent 0808fab9c3
commit 212f9a8e86
3 changed files with 85 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
name: "Magento compilation (setup:di:compile)"
author: "Graycore"
description: "A GitHub Action that runs bin/magento setup:di:compile."
inputs:
path:
required: false
default: "."
description: "Path to the Magento root directory. Accepts the output of the setup-magento action."
runs:
using: composite
steps:
- name: Enable all modules
working-directory: ${{ inputs.path }}
shell: bash
run: php bin/magento module:enable --all
- name: Compile
working-directory: ${{ inputs.path }}
shell: bash
run: php bin/magento setup:di:compile
branding:
icon: "tool"
color: "orange"