From 68fb214f855742695b1aba71cb5ff7edff074d3b Mon Sep 17 00:00:00 2001 From: Art4 Date: Sun, 10 Nov 2024 21:17:41 +0000 Subject: [PATCH] Fix composer installation in woodpecker pipelines --- .woodpecker/.continuous-deployment.yml | 1 + .woodpecker/.releaser.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.woodpecker/.continuous-deployment.yml b/.woodpecker/.continuous-deployment.yml index eff4ae0cff..dde6af8ff3 100644 --- a/.woodpecker/.continuous-deployment.yml +++ b/.woodpecker/.continuous-deployment.yml @@ -45,6 +45,7 @@ steps: composer_install: image: friendicaci/php8.2:php8.2.16 commands: + - mkdir addon # create empty addon folder to appease composer - export COMPOSER_HOME=.composer - composer validate - composer install --no-dev --optimize-autoloader diff --git a/.woodpecker/.releaser.yml b/.woodpecker/.releaser.yml index 0c7caac009..794ba5fbd3 100644 --- a/.woodpecker/.releaser.yml +++ b/.woodpecker/.releaser.yml @@ -43,6 +43,7 @@ steps: composer_install: image: friendicaci/php8.2:php8.2.16 commands: + - mkdir addon # create empty addon folder to appease composer - export COMPOSER_HOME=.composer - composer validate - composer install --no-dev --optimize-autoloader