@@ -53,13 +53,15 @@ jobs:
5353 restore-keys : musl-cross-make-
5454
5555 - name : Checkout musl-cross-make
56+ if : steps.compiler-cache.outputs.cache-hit != 'true'
5657 uses : actions/checkout@v4
5758 with :
5859 repository : pmmp/musl-cross-make
5960 path : musl-cross-make
6061 ref : ${{ env.MUSL_CROSS_MAKE_VERSION }}
6162
6263 - name : Build compiler
64+ if : steps.compiler-cache.outputs.cache-hit != 'true'
6365 working-directory : musl-cross-make
6466 run : |
6567 echo "TARGET = aarch64-linux-musl" > config.mak
@@ -80,15 +82,15 @@ jobs:
8082 - name : Create tarball
8183 run : |
8284 tar -czf ./PHP-${{ inputs.php-version-base }}-Android-arm64-PM${{ inputs.pm-version-major }}.tar.gz bin
83- tar -czf ./PHP-${{ inputs.php-version-base }}-Android-arm64-PM${{ inputs.pm-version-major }}-debugging-symbols.tar.gz bin-debug
85+ tar -czf ./Z- PHP-${{ inputs.php-version-base }}-Android-arm64-PM${{ inputs.pm-version-major }}-debugging-symbols.tar.gz bin-debug
8486
8587 - name : Upload artifacts
8688 uses : actions/upload-artifact@v4
8789 if : always()
8890 with :
8991 name : PHP-${{ inputs.php-version-base }}-Android-PM${{ inputs.pm-version-major }}
9092 path : |
91- ./PHP-${{ inputs.php-version-base }}-Android-arm64-PM${{ inputs.pm-version-major }}*.tar.gz
93+ ./* PHP-${{ inputs.php-version-base }}-Android-arm64-PM${{ inputs.pm-version-major }}*.tar.gz
9294 install.log
9395 compile.sh
9496 if-no-files-found : error
@@ -136,15 +138,15 @@ jobs:
136138 - name : Create tarball
137139 run : |
138140 tar -czf ./PHP-${{ inputs.php-version-base }}-Linux-x86_64-PM${{ inputs.pm-version-major }}.tar.gz bin
139- tar -czf ./PHP-${{ inputs.php-version-base }}-Linux-x86_64-PM${{ inputs.pm-version-major }}-debugging-symbols.tar.gz bin-debug
141+ tar -czf ./Z- PHP-${{ inputs.php-version-base }}-Linux-x86_64-PM${{ inputs.pm-version-major }}-debugging-symbols.tar.gz bin-debug
140142
141143 - name : Upload artifacts
142144 uses : actions/upload-artifact@v4
143145 if : always()
144146 with :
145147 name : PHP-${{ inputs.php-version-base }}-Linux-PM${{ inputs.pm-version-major }}
146148 path : |
147- ./PHP-${{ inputs.php-version-base }}-Linux-x86_64-PM${{ inputs.pm-version-major }}*.tar.gz
149+ ./* PHP-${{ inputs.php-version-base }}-Linux-x86_64-PM${{ inputs.pm-version-major }}*.tar.gz
148150 install.log
149151 compile.sh
150152 if-no-files-found : error
@@ -202,15 +204,15 @@ jobs:
202204 - name : Create tarball
203205 run : |
204206 tar -czf ./PHP-${{ inputs.php-version-base }}-MacOS-${{ matrix.artifact-name }}-PM${{ inputs.pm-version-major }}.tar.gz bin
205- tar -czf ./PHP-${{ inputs.php-version-base }}-MacOS-${{ matrix.artifact-name }}-PM${{ inputs.pm-version-major }}-debugging-symbols.tar.gz bin-debug
207+ tar -czf ./Z- PHP-${{ inputs.php-version-base }}-MacOS-${{ matrix.artifact-name }}-PM${{ inputs.pm-version-major }}-debugging-symbols.tar.gz bin-debug
206208
207209 - name : Upload artifacts
208210 uses : actions/upload-artifact@v4
209211 if : always()
210212 with :
211213 name : PHP-${{ inputs.php-version-base }}-MacOS-${{ matrix.artifact-name }}-PM${{ inputs.pm-version-major }}
212214 path : |
213- ./PHP-${{ inputs.php-version-base }}-MacOS-${{ matrix.artifact-name}}-PM${{ inputs.pm-version-major }}*.tar.gz
215+ ./* PHP-${{ inputs.php-version-base }}-MacOS-${{ matrix.artifact-name}}-PM${{ inputs.pm-version-major }}*.tar.gz
214216 install.log
215217 compile.sh
216218 if-no-files-found : error
@@ -254,7 +256,7 @@ jobs:
254256 run : |
255257 mkdir temp
256258 Compress-Archive -Path .\bin -DestinationPath "PHP-${{ inputs.php-version-base }}-Windows-x64-PM${{ inputs.pm-version-major }}.zip"
257- move php-debug-pack-*.zip temp/PHP-${{ inputs.php-version-base }}-Windows-x64-PM${{ inputs.pm-version-major }}-debugging-symbols.zip
259+ move php-debug-pack-*.zip temp/Z- PHP-${{ inputs.php-version-base }}-Windows-x64-PM${{ inputs.pm-version-major }}-debugging-symbols.zip
258260 move temp\*.zip .
259261
260262 - name : Upload artifacts
@@ -263,7 +265,7 @@ jobs:
263265 with :
264266 name : PHP-${{ inputs.php-version-base }}-Windows-PM${{ inputs.pm-version-major }}
265267 path : |
266- PHP-${{ inputs.php-version-base }}-Windows-x64-PM${{ inputs.pm-version-major }}*.zip
268+ * PHP-${{ inputs.php-version-base }}-Windows-x64-PM${{ inputs.pm-version-major }}*.zip
267269 compile.log
268270 windows-compile-vs.bat
269271 if-no-files-found : error
@@ -290,7 +292,18 @@ jobs:
290292 uses : actions/download-artifact@v4
291293 with :
292294 path : ${{ github.workspace }}
293- pattern : " PHP-${{ inputs.php-version-base }}-*-PM${{ inputs.pm-version-major }}"
295+ pattern : " *PHP-${{ inputs.php-version-base }}-*-PM${{ inputs.pm-version-major }}"
296+
297+ - name : Download .gdbinit for this PHP version
298+ run : |
299+ curl -L https://raw.githubusercontent.com/php/php-src/refs/heads/PHP-${{ inputs.php-version-base }}/.gdbinit -o Z-PHP-${{ inputs.php-version-base }}.gdbinit
300+
301+ - name : Upload .gdbinit artifact
302+ uses : actions/upload-artifact@v4
303+ with :
304+ name : PHP-${{ inputs.php-version-base }}.gdbinit
305+ path : |
306+ ${{ github.workspace }}/*.gdbinit
294307
295308 - name : Generate release notes
296309 run : |
@@ -322,8 +335,9 @@ jobs:
322335 if : ${{ inputs.special-release != 'none' }}
323336 with :
324337 artifacts : |
325- ${{ github.workspace }}/PHP-*-PM*/*.tar.gz
326- ${{ github.workspace }}/PHP-*-Windows-PM*/*.zip
338+ ${{ github.workspace }}/*PHP-*-PM*/*.tar.gz
339+ ${{ github.workspace }}/*PHP-*-Windows-PM*/*.zip
340+ ${{ github.workspace }}/*.gdbinit
327341 name : PM ${{ inputs.pm-version-major }}.x (${{ steps.date.outputs.DATE }}) - Recommended
328342 tag : pm${{ inputs.pm-version-major }}-latest
329343 commit : ${{ github.sha }}
@@ -337,8 +351,9 @@ jobs:
337351338352 with :
339353 artifacts : |
340- ${{ github.workspace }}/PHP-*-PM*/*.tar.gz
341- ${{ github.workspace }}/PHP-*-Windows-PM*/*.zip
354+ ${{ github.workspace }}/*PHP-*-PM*/*.tar.gz
355+ ${{ github.workspace }}/*PHP-*-Windows-PM*/*.zip
356+ ${{ github.workspace }}/*.gdbinit
342357 name : PM ${{ inputs.pm-version-major }}.x (${{ steps.date.outputs.DATE }}) - PHP ${{ inputs.php-version-base }}
343358 tag : pm${{ inputs.pm-version-major }}-php-${{ inputs.php-version-base }}-latest
344359 commit : ${{ github.sha }}
0 commit comments