Skip to content

Commit

Permalink
Prefix debug symbols packages with Z- to push them to the bottom of r…
Browse files Browse the repository at this point in the history
…eleases
  • Loading branch information
dktapps authored Dec 25, 2024
1 parent fb8938f commit 16bfcec
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/main-pm-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ jobs:
- name: Create tarball
run: |
tar -czf ./PHP-${{ inputs.php-version-base }}-Android-arm64-PM${{ inputs.pm-version-major }}.tar.gz bin
tar -czf ./PHP-${{ inputs.php-version-base }}-Android-arm64-PM${{ inputs.pm-version-major }}-debugging-symbols.tar.gz bin-debug
tar -czf ./Z-PHP-${{ inputs.php-version-base }}-Android-arm64-PM${{ inputs.pm-version-major }}-debugging-symbols.tar.gz bin-debug
- name: Upload artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: PHP-${{ inputs.php-version-base }}-Android-PM${{ inputs.pm-version-major }}
path: |
./PHP-${{ inputs.php-version-base }}-Android-arm64-PM${{ inputs.pm-version-major }}*.tar.gz
./*PHP-${{ inputs.php-version-base }}-Android-arm64-PM${{ inputs.pm-version-major }}*.tar.gz
install.log
compile.sh
if-no-files-found: error
Expand Down Expand Up @@ -138,15 +138,15 @@ jobs:
- name: Create tarball
run: |
tar -czf ./PHP-${{ inputs.php-version-base }}-Linux-x86_64-PM${{ inputs.pm-version-major }}.tar.gz bin
tar -czf ./PHP-${{ inputs.php-version-base }}-Linux-x86_64-PM${{ inputs.pm-version-major }}-debugging-symbols.tar.gz bin-debug
tar -czf ./Z-PHP-${{ inputs.php-version-base }}-Linux-x86_64-PM${{ inputs.pm-version-major }}-debugging-symbols.tar.gz bin-debug
- name: Upload artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: PHP-${{ inputs.php-version-base }}-Linux-PM${{ inputs.pm-version-major }}
path: |
./PHP-${{ inputs.php-version-base }}-Linux-x86_64-PM${{ inputs.pm-version-major }}*.tar.gz
./*PHP-${{ inputs.php-version-base }}-Linux-x86_64-PM${{ inputs.pm-version-major }}*.tar.gz
install.log
compile.sh
if-no-files-found: error
Expand Down Expand Up @@ -204,15 +204,15 @@ jobs:
- name: Create tarball
run: |
tar -czf ./PHP-${{ inputs.php-version-base }}-MacOS-${{ matrix.artifact-name }}-PM${{ inputs.pm-version-major }}.tar.gz bin
tar -czf ./PHP-${{ inputs.php-version-base }}-MacOS-${{ matrix.artifact-name }}-PM${{ inputs.pm-version-major }}-debugging-symbols.tar.gz bin-debug
tar -czf ./Z-PHP-${{ inputs.php-version-base }}-MacOS-${{ matrix.artifact-name }}-PM${{ inputs.pm-version-major }}-debugging-symbols.tar.gz bin-debug
- name: Upload artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: PHP-${{ inputs.php-version-base }}-MacOS-${{ matrix.artifact-name }}-PM${{ inputs.pm-version-major }}
path: |
./PHP-${{ inputs.php-version-base }}-MacOS-${{ matrix.artifact-name}}-PM${{ inputs.pm-version-major }}*.tar.gz
./*PHP-${{ inputs.php-version-base }}-MacOS-${{ matrix.artifact-name}}-PM${{ inputs.pm-version-major }}*.tar.gz
install.log
compile.sh
if-no-files-found: error
Expand Down Expand Up @@ -256,7 +256,7 @@ jobs:
run: |
mkdir temp
Compress-Archive -Path .\bin -DestinationPath "PHP-${{ inputs.php-version-base }}-Windows-x64-PM${{ inputs.pm-version-major }}.zip"
move php-debug-pack-*.zip temp/PHP-${{ inputs.php-version-base }}-Windows-x64-PM${{ inputs.pm-version-major }}-debugging-symbols.zip
move php-debug-pack-*.zip temp/Z-PHP-${{ inputs.php-version-base }}-Windows-x64-PM${{ inputs.pm-version-major }}-debugging-symbols.zip
move temp\*.zip .
- name: Upload artifacts
Expand All @@ -265,7 +265,7 @@ jobs:
with:
name: PHP-${{ inputs.php-version-base }}-Windows-PM${{ inputs.pm-version-major }}
path: |
PHP-${{ inputs.php-version-base }}-Windows-x64-PM${{ inputs.pm-version-major }}*.zip
*PHP-${{ inputs.php-version-base }}-Windows-x64-PM${{ inputs.pm-version-major }}*.zip
compile.log
windows-compile-vs.bat
if-no-files-found: error
Expand All @@ -292,7 +292,7 @@ jobs:
uses: actions/download-artifact@v4
with:
path: ${{ github.workspace }}
pattern: "PHP-${{ inputs.php-version-base }}-*-PM${{ inputs.pm-version-major }}"
pattern: "*PHP-${{ inputs.php-version-base }}-*-PM${{ inputs.pm-version-major }}"

- name: Generate release notes
run: |
Expand Down Expand Up @@ -324,8 +324,8 @@ jobs:
if: ${{ inputs.special-release != 'none' }}
with:
artifacts: |
${{ github.workspace }}/PHP-*-PM*/*.tar.gz
${{ github.workspace }}/PHP-*-Windows-PM*/*.zip
${{ github.workspace }}/*PHP-*-PM*/*.tar.gz
${{ github.workspace }}/*PHP-*-Windows-PM*/*.zip
name: PM ${{ inputs.pm-version-major }}.x (${{ steps.date.outputs.DATE }}) - Recommended
tag: pm${{ inputs.pm-version-major }}-latest
commit: ${{ github.sha }}
Expand All @@ -339,8 +339,8 @@ jobs:
uses: ncipollo/[email protected]
with:
artifacts: |
${{ github.workspace }}/PHP-*-PM*/*.tar.gz
${{ github.workspace }}/PHP-*-Windows-PM*/*.zip
${{ github.workspace }}/*PHP-*-PM*/*.tar.gz
${{ github.workspace }}/*PHP-*-Windows-PM*/*.zip
name: PM ${{ inputs.pm-version-major }}.x (${{ steps.date.outputs.DATE }}) - PHP ${{ inputs.php-version-base }}
tag: pm${{ inputs.pm-version-major }}-php-${{ inputs.php-version-base }}-latest
commit: ${{ github.sha }}
Expand Down

0 comments on commit 16bfcec

Please sign in to comment.