Skip to content

Commit

Permalink
Update GitHub actions to choose correct Composer dependency version
Browse files Browse the repository at this point in the history
  • Loading branch information
ffraenz committed Oct 26, 2020
1 parent 5479971 commit c7d1159
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ jobs:
tools: "composer:${{ matrix.composer-version }}"
coverage: "xdebug"

- name: "Choose Composer 1 version"
uses: nick-invision/retry@v1
with:
timeout_minutes: 5
max_attempts: 5
command: composer require "composer/composer:^1.0" --no-update --no-interaction
if: "matrix.composer-version == 'v1'"

- name: "Choose PHPUnit version"
run: |
if [ "${{ matrix.php-version }}" = "7.1" ]; then
Expand Down

0 comments on commit c7d1159

Please sign in to comment.