File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -92,13 +92,21 @@ jobs:
92
92
GITHUB_TOKEN : ${{ secrets.S_GITHUB_TOKEN }}
93
93
run : ${{ steps.process-env.outputs.CMD }} download --with-php=${{ matrix.php-version }} --for-extensions="${{ steps.process-env.outputs.EXTENSIONS }}" --retry=5 --prefer-pre-built
94
94
95
+ - name : " Doctor"
96
+ env :
97
+ GITHUB_TOKEN : ${{ secrets.S_GITHUB_TOKEN }}
98
+ run : ${{ steps.process-env.outputs.CMD }} doctor --auto-fix
99
+
100
+ - name : " Install UPX"
101
+ env :
102
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
103
+ run : ${{ steps.process-env.outputs.CMD }} install-pkg upx
104
+
95
105
- name : " Build extensions: ${{ steps.process-env.outputs.EXTENSIONS }}"
96
- run : |
97
- ${{ steps.process-env.outputs.CMD }} doctor --auto-fix
98
- ${{ steps.process-env.outputs.CMD }} install-pkg upx
99
-
100
- ${{ steps.process-env.outputs.CMD }} build --build-cli --build-micro "${{ steps.process-env.outputs.EXTENSIONS }}" --debug --with-upx-pack
106
+ run : ${{ steps.process-env.outputs.CMD }} build --build-cli --build-micro "${{ steps.process-env.outputs.EXTENSIONS }}" --debug --with-upx-pack
101
107
108
+ - name : " Pack PHP"
109
+ run : |
102
110
$PHPVER = ${{ steps.process-env.outputs.CMD }} dev:php-ver
103
111
New-Item -ItemType Directory -Force -Path dist
104
112
Compress-Archive -Path "buildroot\bin\php.exe" -DestinationPath "dist\php-$PHPVER-cli-win.zip"
You can’t perform that action at this time.
0 commit comments