@@ -249,12 +249,12 @@ runs:
249249 run : composer require $(composer -d custom/plugins/${{ inputs.extensionName }} config name)
250250
251251 - name : Refresh Plugins
252- if : ${{ inputs.install && env.IS_PLUGIN == 'true' }}
252+ if : ${{ inputs.install == 'true' && env.IS_PLUGIN == 'true' }}
253253 shell : bash
254254 run : php bin/console plugin:refresh
255255
256256 - name : Install extension dependencies
257- if : ${{ inputs.install && inputs.dependencies && env.IS_PLUGIN == 'true' }}
257+ if : ${{ inputs.install == 'true' && inputs.dependencies && env.IS_PLUGIN == 'true' }}
258258 shell : bash
259259 env :
260260 DEPS : ${{ inputs.dependencies }}
@@ -266,47 +266,47 @@ runs:
266266 done
267267
268268 - name : Install Plugin
269- if : ${{ inputs.install && env.IS_PLUGIN == 'true' }}
269+ if : ${{ inputs.install == 'true' && env.IS_PLUGIN == 'true' }}
270270 shell : bash
271271 run : php bin/console plugin:install --activate ${{ inputs.extensionName }}
272272
273273 # TODO: install deps for all bundles (bin/ci bundle:dump -> foreach bundle in var/plugins.json)
274274 - name : Install extension admin deps
275- if : ${{ inputs.install-admin }}
275+ if : ${{ inputs.install-admin == 'true' }}
276276 shell : bash
277277 run : |
278278 if [[ -r "custom/plugins/${{ inputs.extensionName }}/src/Resources/app/administration/package.json" ]]; then
279279 (cd "custom/plugins/${{ inputs.extensionName }}/src/Resources/app/administration/" && npm ci --no-audit --no-fund --prefer-offline)
280280 fi
281281
282282 - name : Install app
283- if : ${{ inputs.install && env.IS_APP == 'true' }}
283+ if : ${{ inputs.install == 'true' && env.IS_APP == 'true' }}
284284 shell : bash
285285 run : |-
286286 bin/console app:refresh -n -a ${{ inputs.extensionName }}
287287
288288 - name : Install storefront deps
289- if : ${{ inputs.install-storefront }}
289+ if : ${{ inputs.install-storefront == 'true' }}
290290 shell : bash
291291 working-directory : src/Storefront/Resources/app/storefront
292292 run : npm ci --no-audit --no-fund --prefer-offline
293293
294294 # TODO: install deps for all bundles
295295 - name : Install extension storefront deps
296- if : ${{ inputs.install-storefront }}
296+ if : ${{ inputs.install-storefront == 'true' }}
297297 shell : bash
298298 run : |
299299 if [[ -r "custom/plugins/${{ inputs.extensionName }}/src/Resources/app/storefront/package.json" ]]; then
300300 (cd "custom/plugins/${{ inputs.extensionName }}/src/Resources/app/storefront/" && npm ci --no-audit --no-fund --prefer-offline)
301301 fi
302302
303303 - name : Prepare Jest environment
304- if : ${{ inputs.install && inputs.install-admin }}
304+ if : ${{ inputs.install == 'true' && inputs.install-admin == 'true' }}
305305 shell : bash
306306 working-directory : src/Administration/Resources/app/administration
307307 run : npm run unit-setup --if-present
308308
309309 - name : Entity schema
310- if : ${{ inputs.install && inputs.install-admin }}
310+ if : ${{ inputs.install == 'true' && inputs.install-admin == 'true' }}
311311 shell : bash
312312 run : composer admin:generate-entity-schema-types
0 commit comments