Added allow plugin configs for composer 2 in ci

This commit is contained in:
UndefinedOffset 2022-07-06 14:50:18 -03:00
parent eabbe33342
commit 255347b755
No known key found for this signature in database
GPG Key ID: 59C4EE2B6468B796
1 changed files with 3 additions and 0 deletions

View File

@ -155,6 +155,9 @@ jobs:
run: |
composer self-update --ansi || true
if [[ $GITHUB_ACCESS_TOKEN ]]; then composer config --ansi -g github-oauth.github.com $GITHUB_ACCESS_TOKEN; fi
composer config allow-plugins.composer/installers true
composer config allow-plugins.silverstripe/recipe-plugin true
composer config allow-plugins.silverstripe/vendor-plugin true
composer require silverstripe/admin 1.11.* --no-update
composer require silverstripe/versioned 1.11.*
composer install --verbose --no-interaction --no-progress --no-suggest --optimize-autoloader --ansi