Skip to content

Commit

Permalink
ci(github): dependencies-package will use correct version of packag…
Browse files Browse the repository at this point in the history
…es (from local repo).
  • Loading branch information
LastDragon-ru committed Sep 8, 2023
1 parent a819d8e commit 1d3ab3b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@ jobs:
uses: actions/checkout@v3
- name: Install PHP
uses: ./.github/actions/php
- name: Composer repositories
shell: bash
working-directory: ${{ needs.settings.outputs.packages-directory }}/${{ matrix.package }}
run: |
PACKAGES=$(echo '${{ needs.settings.outputs.packages-names }}' | jq 'map(select(. != "${{ matrix.package }}"))' | jq -c -r '.[]')
while read -r PKG
do
composer config "repositories.${PKG}" path "../${PKG}"
done <<< "${PACKAGES}"
- name: Install package dependencies
uses: ramsey/composer-install@v2
with:
Expand Down

0 comments on commit 1d3ab3b

Please sign in to comment.