We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee842d8 commit 188ddc1Copy full SHA for 188ddc1
.github/workflows/build-php.yml
@@ -126,7 +126,11 @@ jobs:
126
127
- shell: bash
128
run: |
129
- PHP_VERSION_FULL=$(php -r "echo PHP_VERSION;")
+ if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
130
+ PHP_VERSION_FULL=$(../static-php-cli/buildroot/bin/php.exe -r "echo PHP_VERSION;")
131
+ else
132
+ PHP_VERSION_FULL=$(../static-php-cli/buildroot/bin/php -r "echo PHP_VERSION;")
133
+ fi
134
echo "PHP_VERSION_FULL=$PHP_VERSION_FULL" >> $GITHUB_ENV
135
136
- name: Zip PHP binary, copy metadata
0 commit comments