Skip to content

Commit 26acec6

Browse files
committed
fix format ci
1 parent 3c92eff commit 26acec6

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,15 @@ jobs:
4949
- name: Setup PHP (Windows)
5050
if: matrix.os == 'windows-latest'
5151
run: |
52-
choco install php --version=8.2
53-
refreshenv
54-
php -v
52+
choco install php --version=8.2 --params '"/ExtensionList:mbstring,curl,openssl,xml"'
53+
refreshenv
54+
php -v
55+
shell: pwsh
5556

56-
- name: Install Composer (Windows)
57+
- name: Install dependencies (Windows)
5758
if: matrix.os == 'windows-latest'
58-
run: |
59-
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
60-
php composer-setup.php
61-
php -r "unlink('composer-setup.php');"
62-
mkdir -p C:\tools\composer
63-
move composer.phar C:\tools\composer\composer
64-
echo "C:\tools\composer" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
65-
shell: pwsh
59+
run: composer install --prefer-dist --no-progress --ignore-platform-req=ext-pcntl
60+
shell: bash
6661

6762
- name: Install Composer (Unix)
6863
if: matrix.os != 'windows-latest'

0 commit comments

Comments
 (0)