From aae70876bc90d6c6120379d0881551475980c3ac Mon Sep 17 00:00:00 2001 From: Jonas Elfering Date: Tue, 18 Aug 2026 20:29:22 +0200 Subject: [PATCH] ci(setup-extension): allow skipping plugin installation --- setup-extension/action.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/setup-extension/action.yml b/setup-extension/action.yml index 4523f58..8ce8062 100644 --- a/setup-extension/action.yml +++ b/setup-extension/action.yml @@ -73,6 +73,11 @@ inputs: required: false default: "" + install-plugin: + description: Whether to refresh and install the extension plugin after setting up Shopware + required: false + default: "true" + install-admin: description: Whether to install administration npm dependencies required: false @@ -294,7 +299,7 @@ runs: run: composer require $(composer -d custom/plugins/${{ inputs.extensionName }} config name) --with-dependencies - name: Refresh Plugins - if: ${{ inputs.install == 'true' && env.IS_PLUGIN == 'true' }} + if: ${{ inputs.install == 'true' && inputs.install-plugin == 'true' && env.IS_PLUGIN == 'true' }} shell: bash run: php bin/console plugin:refresh @@ -311,7 +316,7 @@ runs: done - name: Install Plugin - if: ${{ inputs.install == 'true' && env.IS_PLUGIN == 'true' }} + if: ${{ inputs.install == 'true' && inputs.install-plugin == 'true' && env.IS_PLUGIN == 'true' }} shell: bash run: php bin/console plugin:install --activate ${{ inputs.extensionName }}