Build/Test Tools: Always generate build ZIP on push for 6.4.

This updates the 6.5 branch to make use of [58345], which fixes a bug where a ZIP file with built WordPress is not saved as an artifact causing the performance workflow to fail.

Merges [53845] to the 6.4 branch.

Props jorbin.
See #59416.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@58347 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2024-06-05 18:33:22 +00:00
parent 366ad4db1a
commit 96a5188be3

View File

@ -51,13 +51,16 @@ jobs:
os: [ ubuntu-latest, windows-latest ]
directory: [ 'src', 'build' ]
include:
# Only prepare artifacts for Playground once.
# Only prepare artifacts once.
- os: ubuntu-latest
directory: 'build'
prepare-playground: true
save-build: true
prepare-playground: ${{ github.event_name == 'pull_request' && true || '' }}
with:
os: ${{ matrix.os }}
directory: ${{ matrix.directory }}
save-build: ${{ matrix.save-build && matrix.save-build || false }}
prepare-playground: ${{ matrix.prepare-playground && matrix.prepare-playground || false }}
test-emoji: false