Fix composer installation in woodpecker pipelines
parent
a7bc4010b9
commit
68fb214f85
|
@ -45,6 +45,7 @@ steps:
|
||||||
composer_install:
|
composer_install:
|
||||||
image: friendicaci/php8.2:php8.2.16
|
image: friendicaci/php8.2:php8.2.16
|
||||||
commands:
|
commands:
|
||||||
|
- mkdir addon # create empty addon folder to appease composer
|
||||||
- export COMPOSER_HOME=.composer
|
- export COMPOSER_HOME=.composer
|
||||||
- composer validate
|
- composer validate
|
||||||
- composer install --no-dev --optimize-autoloader
|
- composer install --no-dev --optimize-autoloader
|
||||||
|
|
|
@ -43,6 +43,7 @@ steps:
|
||||||
composer_install:
|
composer_install:
|
||||||
image: friendicaci/php8.2:php8.2.16
|
image: friendicaci/php8.2:php8.2.16
|
||||||
commands:
|
commands:
|
||||||
|
- mkdir addon # create empty addon folder to appease composer
|
||||||
- export COMPOSER_HOME=.composer
|
- export COMPOSER_HOME=.composer
|
||||||
- composer validate
|
- composer validate
|
||||||
- composer install --no-dev --optimize-autoloader
|
- composer install --no-dev --optimize-autoloader
|
||||||
|
|
Loading…
Reference in New Issue