Skip to content

Commit

Permalink
Use Composer 2.2.x under PHP7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed May 12, 2022
1 parent dc6af9b commit 06cc4dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Expand Up @@ -72,6 +72,10 @@ jobs:
restore-keys: |
${{ runner.os }}-composer-
# see https://github.com/composer/composer/issues/10340
- run: sudo composer selfupdate --2.2
if: matrix.php < 7.2

- name: composer install
run: composer install --no-interaction -o

Expand Down Expand Up @@ -165,7 +169,7 @@ jobs:
shell: bash

# see https://github.com/composer/composer/issues/10340
- run: composer selfupdate 2.2.11
- run: composer selfupdate --2.2
if: matrix.php < 7.2

- name: composer install
Expand Down

0 comments on commit 06cc4dc

Please sign in to comment.