Skip to content

Commit

Permalink
Update build-php-unix.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
crazywhalecc authored Jul 9, 2024
1 parent 9be2bf8 commit 3fcb599
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-php-unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,11 @@ jobs:
${{ steps.process-env.outputs.CMD }} build --build-cli --build-micro --build-fpm ${{ steps.process-env.outputs.EXTENSIONS }} --debug $UPX
PHPVER=$(cat source/php-src/main/php_version.h | grep "PHP_VERSION " | awk -F\" '{print $2}')
mkdir dist/
if [ ! -d "dist" ]; then
mkdir dist/
fi
tar -czf dist/php-$PHPVER-cli-${{ steps.process-env.outputs.OS }}.tar.gz -C buildroot/bin/ php
tar -czf dist/php-$PHPVER-micro-${{ steps.process-env.outputs.OS }}.tar.gz -C buildroot/bin/ micro.sfx
tar -czf dist/php-$PHPVER-fpm-${{ steps.process-env.outputs.OS }}.tar.gz -C buildroot/bin/ php-fpm
Expand Down

0 comments on commit 3fcb599

Please sign in to comment.