Added composer authentication to the steps

This commit is contained in:
Nick Wiegers 2025-02-12 15:37:22 +01:00
parent a0f0fd27c6
commit e399e3a289

View File

@ -27,6 +27,11 @@ jobs:
username: ${{ inputs.username }} username: ${{ inputs.username }}
password: ${{ inputs.password }} password: ${{ inputs.password }}
steps: steps:
- name: Setup composer authentication
run: |
if [ -f ${{ secrets.COMPOSER_AUTH_JSON }} ]
cp ${{ secrets.COMPOSER_AUTH_JSON }} ~/.composer/auth.json
fi
- name: Setup composer - name: Setup composer
uses: https://git.qlic.nl/actions/setup-composer@v1 uses: https://git.qlic.nl/actions/setup-composer@v1
with: with: