From d3492f7782b9b93ca8624c80cfa8c4a897377412 Mon Sep 17 00:00:00 2001
From: Jonathan Desrosiers <desrosj@git.wordpress.org>
Date: Wed, 5 Jun 2024 19:10:39 +0000
Subject: [PATCH] Build/Test Tools: Use input added in [58274] in the 6.2
 branch.

This was missed in [58301].

See #59416, #61213.

git-svn-id: https://develop.svn.wordpress.org/branches/6.2@58349 602fd350-edb4-49c9-b593-d223f7449a82
---
 .github/workflows/test-build-processes.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.github/workflows/test-build-processes.yml b/.github/workflows/test-build-processes.yml
index 227cf08738..a57224e8c1 100644
--- a/.github/workflows/test-build-processes.yml
+++ b/.github/workflows/test-build-processes.yml
@@ -50,9 +50,15 @@ jobs:
       matrix:
         os: [ ubuntu-latest, windows-latest ]
         directory: [ 'src', 'build' ]
+        include:
+          # Only prepare artifacts once.
+          - os: ubuntu-latest
+            directory: 'build'
+            prepare-playground: ${{ github.event_name == 'pull_request' && true || '' }}
     with:
       os: ${{ matrix.os }}
       directory: ${{ matrix.directory }}
+      prepare-playground: ${{ matrix.prepare-playground && matrix.prepare-playground || false }}
       test-emoji: false
 
   # Tests the WordPress Core build process on MacOS.