@@ -294,6 +294,17 @@ jobs:
294
294
path : ${{ github.workspace }}
295
295
pattern : " *PHP-${{ inputs.php-version-base }}-*-PM${{ inputs.pm-version-major }}"
296
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
307
+
297
308
- name : Generate release notes
298
309
run : |
299
310
echo "### PHP ${{ inputs.php-version-base }} for PocketMine-MP ${{ inputs.pm-version-major }}.x" > changelog.md
@@ -326,6 +337,7 @@ jobs:
326
337
artifacts : |
327
338
${{ github.workspace }}/*PHP-*-PM*/*.tar.gz
328
339
${{ github.workspace }}/*PHP-*-Windows-PM*/*.zip
340
+ ${{ github.workspace }}/*.gdbinit
329
341
name : PM ${{ inputs.pm-version-major }}.x (${{ steps.date.outputs.DATE }}) - Recommended
330
342
tag : pm${{ inputs.pm-version-major }}-latest
331
343
commit : ${{ github.sha }}
@@ -341,6 +353,7 @@ jobs:
341
353
artifacts : |
342
354
${{ github.workspace }}/*PHP-*-PM*/*.tar.gz
343
355
${{ github.workspace }}/*PHP-*-Windows-PM*/*.zip
356
+ ${{ github.workspace }}/*.gdbinit
344
357
name : PM ${{ inputs.pm-version-major }}.x (${{ steps.date.outputs.DATE }}) - PHP ${{ inputs.php-version-base }}
345
358
tag : pm${{ inputs.pm-version-major }}-php-${{ inputs.php-version-base }}-latest
346
359
commit : ${{ github.sha }}
0 commit comments