Skip to content

Commit 9a54219

Browse files
committed
Configure WP CLI correctly for PHP 5.4 & 5.5.
1 parent 4aa8fa8 commit 9a54219

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/reusable-upgrade-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
with:
8383
php-version: '${{ inputs.php }}'
8484
coverage: none
85-
tools: wp-cli
85+
tools: ${{ contains( fromJSON('["5.4", "5.5"]'), inputs.php ) && 'wp-cli:2.4.0' || 'wp-cli' }}
8686

8787
- name: Download WordPress ${{ inputs.wp }}
8888
run: wp core download --version="${WP_VERSION}"

0 commit comments

Comments
 (0)