File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,10 @@ jobs:
119
119
if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
120
120
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"
121
121
else
122
- zip bin/${{ env.SPC_BUILD_OS }}/${{ env.SPC_BUILD_ARCH }}/php-${{ matrix.version }}.zip ../static-php-cli/buildroot/bin/php
122
+ mkdir -p tmp-bin
123
+ cp ../static-php-cli/buildroot/bin/php tmp-bin/
124
+ zip bin/${{ env.SPC_BUILD_OS }}/${{ env.SPC_BUILD_ARCH }}/php-${{ matrix.version }}.zip tmp-bin/php
125
+ rm -rf tmp-bin
123
126
fi
124
127
cp ../static-php-cli/buildroot/license/* license-files/
125
128
cp ../static-php-cli/buildroot/build-extensions.json build-meta/build-extensions-${{ env.SPC_BUILD_OS }}.json
You can’t perform that action at this time.
0 commit comments