Skip to content

Commit

Permalink
Build/Test Tools: Adjust the check for runner type when creating a ZI…
Browse files Browse the repository at this point in the history
…P 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@59722 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
desrosj committed Jan 28, 2025
1 parent 015148d commit a2b2026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-test-core-build-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
run: git diff --exit-code

- name: Create ZIP of built files
if: ${{ inputs.directory == 'build' && 'ubuntu-24.04' == inputs.os }}
if: ${{ inputs.directory == 'build' && contains( inputs.os, 'ubuntu-' ) }}
run: zip -r wordpress.zip build/.

- name: Clean after building to run from ${{ inputs.directory }}
Expand Down

0 comments on commit a2b2026

Please sign in to comment.