Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions setup-extension/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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 }}

Expand Down
Loading