Skip to content

Commit 15a5957

Browse files
committed
Fix Windows-build
1 parent cbabced commit 15a5957

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/php.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
uses: shivammathur/setup-php@v2
125125
with:
126126
php-version: ${{ matrix.php-versions }}
127-
extensions: ctype, date, dom, filter, hash, intl, mbstring, openssl, pcre, soap, spl, xml
127+
extensions: ctype, date, dom, filter, hash, intl, mbstring, openssl, pcre, soap, spl, xml, zip
128128
tools: composer
129129
ini-values: error_reporting=E_ALL
130130
coverage: none
@@ -143,9 +143,11 @@ jobs:
143143
- uses: actions/checkout@v4
144144

145145
- name: Get composer cache directory
146-
run: echo COMPOSER_CACHE="$(composer config cache-files-dir)" >> "$env:GITHUB_ENV"
146+
shell: bash
147+
run: echo COMPOSER_CACHE="$(composer config cache-files-dir)" >> "$GITHUB_ENV"
147148

148149
- name: Get COMPOSER_ROOT_VERSION from composer.json branch alias
150+
shell: bash
149151
run: |
150152
ROOT_VERSION=$(composer config extra.branch-alias.dev-master)
151153
if [ -z "$ROOT_VERSION" ]; then

0 commit comments

Comments
 (0)