Skip to content

Commit 16bfcec

Browse files
authored
Prefix debug symbols packages with Z- to push them to the bottom of releases
1 parent fb8938f commit 16bfcec

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@ jobs:
8282
- name: Create tarball
8383
run: |
8484
tar -czf ./PHP-${{ inputs.php-version-base }}-Android-arm64-PM${{ inputs.pm-version-major }}.tar.gz bin
85-
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
8686
8787
- name: Upload artifacts
8888
uses: actions/upload-artifact@v4
8989
if: always()
9090
with:
9191
name: PHP-${{ inputs.php-version-base }}-Android-PM${{ inputs.pm-version-major }}
9292
path: |
93-
./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
9494
install.log
9595
compile.sh
9696
if-no-files-found: error
@@ -138,15 +138,15 @@ jobs:
138138
- name: Create tarball
139139
run: |
140140
tar -czf ./PHP-${{ inputs.php-version-base }}-Linux-x86_64-PM${{ inputs.pm-version-major }}.tar.gz bin
141-
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
142142
143143
- name: Upload artifacts
144144
uses: actions/upload-artifact@v4
145145
if: always()
146146
with:
147147
name: PHP-${{ inputs.php-version-base }}-Linux-PM${{ inputs.pm-version-major }}
148148
path: |
149-
./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
150150
install.log
151151
compile.sh
152152
if-no-files-found: error
@@ -204,15 +204,15 @@ jobs:
204204
- name: Create tarball
205205
run: |
206206
tar -czf ./PHP-${{ inputs.php-version-base }}-MacOS-${{ matrix.artifact-name }}-PM${{ inputs.pm-version-major }}.tar.gz bin
207-
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
208208
209209
- name: Upload artifacts
210210
uses: actions/upload-artifact@v4
211211
if: always()
212212
with:
213213
name: PHP-${{ inputs.php-version-base }}-MacOS-${{ matrix.artifact-name }}-PM${{ inputs.pm-version-major }}
214214
path: |
215-
./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
216216
install.log
217217
compile.sh
218218
if-no-files-found: error
@@ -256,7 +256,7 @@ jobs:
256256
run: |
257257
mkdir temp
258258
Compress-Archive -Path .\bin -DestinationPath "PHP-${{ inputs.php-version-base }}-Windows-x64-PM${{ inputs.pm-version-major }}.zip"
259-
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
260260
move temp\*.zip .
261261
262262
- name: Upload artifacts
@@ -265,7 +265,7 @@ jobs:
265265
with:
266266
name: PHP-${{ inputs.php-version-base }}-Windows-PM${{ inputs.pm-version-major }}
267267
path: |
268-
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
269269
compile.log
270270
windows-compile-vs.bat
271271
if-no-files-found: error
@@ -292,7 +292,7 @@ jobs:
292292
uses: actions/download-artifact@v4
293293
with:
294294
path: ${{ github.workspace }}
295-
pattern: "PHP-${{ inputs.php-version-base }}-*-PM${{ inputs.pm-version-major }}"
295+
pattern: "*PHP-${{ inputs.php-version-base }}-*-PM${{ inputs.pm-version-major }}"
296296

297297
- name: Generate release notes
298298
run: |
@@ -324,8 +324,8 @@ jobs:
324324
if: ${{ inputs.special-release != 'none' }}
325325
with:
326326
artifacts: |
327-
${{ github.workspace }}/PHP-*-PM*/*.tar.gz
328-
${{ github.workspace }}/PHP-*-Windows-PM*/*.zip
327+
${{ github.workspace }}/*PHP-*-PM*/*.tar.gz
328+
${{ github.workspace }}/*PHP-*-Windows-PM*/*.zip
329329
name: PM ${{ inputs.pm-version-major }}.x (${{ steps.date.outputs.DATE }}) - Recommended
330330
tag: pm${{ inputs.pm-version-major }}-latest
331331
commit: ${{ github.sha }}
@@ -339,8 +339,8 @@ jobs:
339339
uses: ncipollo/[email protected]
340340
with:
341341
artifacts: |
342-
${{ github.workspace }}/PHP-*-PM*/*.tar.gz
343-
${{ github.workspace }}/PHP-*-Windows-PM*/*.zip
342+
${{ github.workspace }}/*PHP-*-PM*/*.tar.gz
343+
${{ github.workspace }}/*PHP-*-Windows-PM*/*.zip
344344
name: PM ${{ inputs.pm-version-major }}.x (${{ steps.date.outputs.DATE }}) - PHP ${{ inputs.php-version-base }}
345345
tag: pm${{ inputs.pm-version-major }}-php-${{ inputs.php-version-base }}-latest
346346
commit: ${{ github.sha }}

0 commit comments

Comments
 (0)