Skip to content

Commit b38d04a

Browse files
authored
return to the bash way
1 parent fff9931 commit b38d04a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/build-php.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,10 @@ jobs:
118118
- name: Zip PHP binary, copy metadata
119119
shell: bash
120120
run: |
121-
if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
122-
powershell Compress-Archive -Path ../static-php-cli/buildroot/bin/php.exe -DestinationPath bin/${{ env.SPC_BUILD_OS }}/${{ env.SPC_BUILD_ARCH }}/php-${{ matrix.version }}.zip
123-
else
124-
zip bin/${{ env.SPC_BUILD_OS }}/${{ env.SPC_BUILD_ARCH }}/php-${{ matrix.version }}.zip ../static-php-cli/buildroot/bin/php
125-
fi
121+
zip bin/${{ env.SPC_BUILD_OS }}/${{ env.SPC_BUILD_ARCH }}/php-${{ matrix.version }}.zip ../static-php-cli/buildroot/bin/php
126122
cp ../static-php-cli/buildroot/license/* license-files/
127-
cp ../static-php-cli/buildroot/build-*.json build-meta/
123+
cp ../static-php-cli/buildroot/build-extensions.json build-meta/build-extensions-${{ env.SPC_BUILD_OS }}.json
124+
cp ../static-php-cli/buildroot/build-libraries.json build-meta/build-libraries-${{ env.SPC_BUILD_OS }}.json
128125
129126
- name: Create Pull Request
130127
uses: peter-evans/create-pull-request@v7

0 commit comments

Comments
 (0)