From e399e3a289934bbb299efddb42127eeea072637f Mon Sep 17 00:00:00 2001 From: Nick Wiegers Date: Wed, 12 Feb 2025 15:37:22 +0100 Subject: [PATCH] Added composer authentication to the steps --- .gitea/workflows/quality.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitea/workflows/quality.yml b/.gitea/workflows/quality.yml index e785610..76aa577 100644 --- a/.gitea/workflows/quality.yml +++ b/.gitea/workflows/quality.yml @@ -27,6 +27,11 @@ jobs: username: ${{ inputs.username }} password: ${{ inputs.password }} steps: + - name: Setup composer authentication + run: | + if [ -f ${{ secrets.COMPOSER_AUTH_JSON }} ] + cp ${{ secrets.COMPOSER_AUTH_JSON }} ~/.composer/auth.json + fi - name: Setup composer uses: https://git.qlic.nl/actions/setup-composer@v1 with: