Make WordPress Core

Changeset 59722


Ignore:
Timestamp:
01/28/2025 04:18:04 PM (6 months ago)
Author:
desrosj
Message:

Build/Test Tools: Adjust the check for runner type when creating a ZIP file.

Because the build process test workflow accepts an input for runner image, older workflows still use ubuntu-latest. This adjusts a conditional check to be more broad, allowing any ubuntu- image to match.

Follow up to [59720].

See #62221.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/reusable-test-core-build-process.yml

    r59720 r59722  
    9999
    100100      - name: Create ZIP of built files
    101         if: ${{ inputs.directory == 'build' && 'ubuntu-24.04' == inputs.os }}
     101        if: ${{ inputs.directory == 'build' && contains( inputs.os, 'ubuntu-' ) }}
    102102        run: zip -r wordpress.zip build/.
    103103
Note: See TracChangeset for help on using the changeset viewer.