From 2701e14eb367356824b35f0291acaf7e29abb88e Mon Sep 17 00:00:00 2001 From: Fellan-91 Date: Thu, 3 Oct 2024 15:11:34 +0300 Subject: [PATCH] updated tests workflow to new WordPress version construction --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 822b7f18..183fa955 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -59,13 +59,13 @@ jobs: include: # Test with the previous WP version. - php: '7.4' - wordpress: ${{ needs.compute-previous-wordpress-version.outputs.previous-wordpress-version }} + wordpress: 'previous major version' - php: '8.2' - wordpress: ${{ needs.compute-previous-wordpress-version.outputs.previous-wordpress-version }} + wordpress: 'previous major version' env: WP_ENV_PHP_VERSION: ${{ matrix.php }} - WP_ENV_CORE: ${{ matrix.wordpress == '' && 'WordPress/WordPress' || format( 'https://wordpress.org/wordpress-{0}.zip', matrix.wordpress ) }} + WP_ENV_CORE: ${{ matrix.wordpress == '' && 'WordPress/WordPress' || format( 'https://wordpress.org/wordpress-{0}.zip', needs.compute-previous-wordpress-version.outputs.previous-wordpress-version ) }} steps: - uses: actions/checkout@v3