File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,12 @@ jobs:
7979 coverage : pcov
8080 tools : composer:v2
8181
82- # Fix for Windows: enable sockets if missing for package donatj/mock-webserver (https://github.com/cebe/php-openapi/issues/236)
82+ # Fix for Windows: enable sockets if missing for package donatj/mock-webserver
8383 - name : Enable sockets on Windows
8484 if : runner.os == 'Windows'
8585 run : |
86- echo "extension=sockets" | Out-File -Append "C:\ tools\ php\ php.ini"
87- php -m | findstr sockets || ( echo "sockets not enabled" && exit 1)
86+ echo "extension=sockets" >> /c/ tools/ php/ php.ini
87+ php -m | grep -q sockets || { echo "sockets not enabled"; exit 1; }
8888
8989 - name : Require specific symfony/yaml version
9090 run : " composer require symfony/yaml:'${{ matrix.symfony-yaml }}' --no-interaction --ansi --no-install"
You can’t perform that action at this time.
0 commit comments