File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 2929 - php_version : 8.2
3030 wp_version : null
3131
32+ name : Playwright tests on PHP ${{ matrix.php_version }} and WP ${{ matrix.wp_version || 'latest' }}
3233 steps :
3334 - uses : actions/checkout@v4
3435 - uses : actions/setup-node@v4
@@ -39,22 +40,22 @@ jobs:
3940 - name : Set WP Version and create .wp-env.json
4041 run : |
4142 WP_VERSION="${{ matrix.wp_version }}"
42- core="Wordpress/Wordpress#${{ matrix.wp_version }}"
43+ core=' "Wordpress/Wordpress#' ${{ matrix.wp_version }}'"'
4344
4445 if [[ -z "$WP_VERSION" || "$WP_VERSION" == "null" ]]; then
45- WP_VERSION="Latest "
46+ WP_VERSION="latest "
4647 core=null
4748 fi
4849
4950 echo "WP_VERSION=$WP_VERSION" >> $GITHUB_ENV
5051
5152 echo '{
52- "core": $core,
53- "phpVersion": "${{ matrix.php_version }}"
54- "plugins": [ "." ],
55- "config": {
56- "SCRIPT_DEBUG": false
57- }
53+ "core": ' $core' ,
54+ "phpVersion": "7.5",
55+ "plugins": [ "." ],
56+ "config": {
57+ "SCRIPT_DEBUG": false
58+ }
5859 }' > .wp-env.json
5960
6061 cat .wp-env.json
You can’t perform that action at this time.
0 commit comments