Skip to content

Commit 350e2ce

Browse files
authored
Update main-pm-matrix.yml
1 parent ae94694 commit 350e2ce

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/main-pm-matrix.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,17 @@ jobs:
294294
path: ${{ github.workspace }}
295295
pattern: "*PHP-${{ inputs.php-version-base }}-*-PM${{ inputs.pm-version-major }}"
296296

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+
297308
- name: Generate release notes
298309
run: |
299310
echo "### PHP ${{ inputs.php-version-base }} for PocketMine-MP ${{ inputs.pm-version-major }}.x" > changelog.md
@@ -326,6 +337,7 @@ jobs:
326337
artifacts: |
327338
${{ github.workspace }}/*PHP-*-PM*/*.tar.gz
328339
${{ github.workspace }}/*PHP-*-Windows-PM*/*.zip
340+
${{ github.workspace }}/*.gdbinit
329341
name: PM ${{ inputs.pm-version-major }}.x (${{ steps.date.outputs.DATE }}) - Recommended
330342
tag: pm${{ inputs.pm-version-major }}-latest
331343
commit: ${{ github.sha }}
@@ -341,6 +353,7 @@ jobs:
341353
artifacts: |
342354
${{ github.workspace }}/*PHP-*-PM*/*.tar.gz
343355
${{ github.workspace }}/*PHP-*-Windows-PM*/*.zip
356+
${{ github.workspace }}/*.gdbinit
344357
name: PM ${{ inputs.pm-version-major }}.x (${{ steps.date.outputs.DATE }}) - PHP ${{ inputs.php-version-base }}
345358
tag: pm${{ inputs.pm-version-major }}-php-${{ inputs.php-version-base }}-latest
346359
commit: ${{ github.sha }}

0 commit comments

Comments
 (0)