Skip to content

Commit 6ad3233

Browse files
committed
Build/Test Tools: Remove unnecessary use of GitHub Actions expressions for values that resolve to "true" or "false" strings.
See #64227 git-svn-id: https://develop.svn.wordpress.org/trunk@62253 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 6311154 commit 6ad3233

12 files changed

Lines changed: 15 additions & 15 deletions

.github/workflows/end-to-end-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ permissions: {}
5353

5454
env:
5555
LOCAL_DIR: build
56-
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
56+
PUPPETEER_SKIP_DOWNLOAD: true
5757

5858
jobs:
5959
# Runs the end-to-end test suite.

.github/workflows/phpunit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ jobs:
181181
multisite: ${{ matrix.multisite }}
182182
memcached: ${{ matrix.memcached }}
183183
phpunit-config: ${{ matrix.multisite && 'tests/phpunit/multisite.xml' || 'phpunit.xml.dist' }}
184-
report: ${{ false }}
184+
report: false
185185

186186
#
187187
# Creates PHPUnit test jobs to test MariaDB and MySQL innovation releases.
@@ -229,7 +229,7 @@ jobs:
229229
multisite: ${{ matrix.multisite }}
230230
memcached: ${{ matrix.memcached }}
231231
phpunit-config: ${{ matrix.multisite && 'tests/phpunit/multisite.xml' || 'phpunit.xml.dist' }}
232-
report: ${{ false }}
232+
report: false
233233

234234
#
235235
# Runs the HTML API test group.

.github/workflows/reusable-coding-standards-javascript.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_call:
88

99
env:
10-
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
10+
PUPPETEER_SKIP_DOWNLOAD: true
1111

1212
# Disable permissions for all available scopes by default.
1313
# Any needed permissions should be configured at the job level.

.github/workflows/reusable-performance-test-v2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ on:
4949
required: false
5050

5151
env:
52-
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
52+
PUPPETEER_SKIP_DOWNLOAD: true
5353

5454
# Prevent wp-scripts from downloading extra Playwright browsers,
5555
# since Chromium will be installed in its dedicated step already.

.github/workflows/reusable-performance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ on:
3737
required: false
3838

3939
env:
40-
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
40+
PUPPETEER_SKIP_DOWNLOAD: true
4141

4242
# Prevent wp-scripts from downloading extra Playwright browsers,
4343
# since Chromium will be installed in its dedicated step already.

.github/workflows/reusable-phpunit-tests-v1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ on:
5050
type: boolean
5151
default: false
5252
env:
53-
COMPOSER_INSTALL: ${{ false }}
53+
COMPOSER_INSTALL: false
5454
LOCAL_PHP: ${{ inputs.php }}-fpm
5555
LOCAL_PHPUNIT: ${{ inputs.phpunit && inputs.phpunit || inputs.php }}-fpm
5656
LOCAL_PHP_MEMCACHED: ${{ inputs.memcached }}
5757
PHPUNIT_CONFIG: ${{ inputs.phpunit-config }}
5858
PHPUNIT_SCRIPT: php
59-
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
59+
PUPPETEER_SKIP_DOWNLOAD: true
6060
SLOW_TESTS: 'external-http,media'
6161

6262
# Disable permissions for all available scopes by default.

.github/workflows/reusable-phpunit-tests-v2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ env:
5858
LOCAL_PHP: ${{ inputs.php }}-fpm
5959
LOCAL_PHP_MEMCACHED: ${{ inputs.memcached }}
6060
PHPUNIT_CONFIG: ${{ inputs.phpunit-config }}
61-
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
61+
PUPPETEER_SKIP_DOWNLOAD: true
6262
# Controls which npm script to use for running PHPUnit tests. Options ar `php` and `php-composer`.
6363
PHPUNIT_SCRIPT: php
6464
SLOW_TESTS: 'external-http,media'

.github/workflows/reusable-phpunit-tests-v3.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ env:
8989
LOCAL_PHP_MEMCACHED: ${{ inputs.memcached }}
9090
LOCAL_WP_TESTS_DOMAIN: ${{ inputs.tests-domain }}
9191
PHPUNIT_CONFIG: ${{ inputs.phpunit-config }}
92-
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
92+
PUPPETEER_SKIP_DOWNLOAD: true
9393

9494
# Disable permissions for all available scopes by default.
9595
# Any needed permissions should be configured at the job level.

.github/workflows/reusable-test-core-build-process.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ on:
3838
default: false
3939

4040
env:
41-
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
41+
PUPPETEER_SKIP_DOWNLOAD: true
4242
NODE_OPTIONS: --max-old-space-size=4096
4343

4444
# Disable permissions for all available scopes by default.

.github/workflows/reusable-test-gutenberg-build-process.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919

2020
env:
2121
GUTENBERG_DIRECTORY: ${{ inputs.directory == 'build' && 'build' || 'src' }}/wp-content/plugins/gutenberg
22-
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
22+
PUPPETEER_SKIP_DOWNLOAD: true
2323
NODE_OPTIONS: '--max-old-space-size=8192'
2424

2525
# Disable permissions for all available scopes by default.

0 commit comments

Comments
 (0)