Skip to content

Commit

Permalink
Fix workflow in build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rougin committed May 23, 2024
1 parent 920bdf9 commit a45e940
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,18 @@ jobs:

- name: Install third-party packages for PHP 5.3
if: ${{ matrix.php-versions == '5.3' }}
run: composer require http-interop/http-middleware:0.4.1 twig/twig --dev
run: composer require http-interop/http-middleware:^0.4.1 twig/twig --dev

- name: Install third-party packages not for PHP 5.3
if: ${{ matrix.php-versions != '5.3' }}
run: composer require filp/whoops league/container nikic/fast-route phroute/phroute rdlowrey/auryn twig/twig zendframework/zend-diactoros --dev
run: composer require filp/whoops league/container nikic/fast-route phroute/phroute rdlowrey/auryn twig/twig zendframework/zend-diactoros http-interop/http-middleware:^0.4.1 --dev

- name: Install third-party packages for PHP 5.4
if: ${{ matrix.php-versions == '5.4' }}
run: composer require zendframework/zend-stratigility http-interop/http-middleware:0.4.1 --dev
run: composer require zendframework/zend-stratigility --dev

- name: Install third-party packages for PHP 5.5
if: ${{ matrix.php-versions == '5.5' }}
run: composer require zendframework/zend-stratigility http-interop/http-middleware:0.5.0 --dev

- name: Install third-party packages for PHP 7.0
if: ${{ matrix.php-versions == '7.0' }}
run: composer require zendframework/zend-stratigility --dev

- name: Install third-party packages for PHP 7.1
Expand Down

0 comments on commit a45e940

Please sign in to comment.