diff --git a/.github/actions/test-alpine/action.yml b/.github/actions/test-alpine/action.yml index 10011b06165b..5911c6ce57f2 100644 --- a/.github/actions/test-alpine/action.yml +++ b/.github/actions/test-alpine/action.yml @@ -18,7 +18,7 @@ runs: export SKIP_IO_CAPTURE_TESTS=1 export STACK_LIMIT_DEFAULTS_CHECK=1 sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \ - ${{ inputs.enableOpcache == 'true' && '-d opcache.enable_cli=1' }} \ + ${{ inputs.enableOpcache == 'true' && '-d opcache.enable_cli=1' || '' }} \ -d opcache.jit=${{ inputs.jitType }} \ -d opcache.jit_buffer_size=64M \ -j$(nproc) \ diff --git a/.github/actions/test-linux/action.yml b/.github/actions/test-linux/action.yml index 573358e41b5f..0dcd1ebd8451 100644 --- a/.github/actions/test-linux/action.yml +++ b/.github/actions/test-linux/action.yml @@ -45,7 +45,7 @@ runs: export SKIP_IO_CAPTURE_TESTS=1 export STACK_LIMIT_DEFAULTS_CHECK=1 sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \ - ${{ inputs.enableOpcache == 'true' && '-d opcache.enable_cli=1' }} \ + ${{ inputs.enableOpcache == 'true' && '-d opcache.enable_cli=1' || '' }} \ -d opcache.jit=${{ inputs.jitType }} \ -d opcache.protect_memory=1 \ -d opcache.jit_buffer_size=64M \ diff --git a/.github/actions/test-macos/action.yml b/.github/actions/test-macos/action.yml index 958544a0b5ea..0e03f7226943 100644 --- a/.github/actions/test-macos/action.yml +++ b/.github/actions/test-macos/action.yml @@ -19,7 +19,7 @@ runs: export CI_NO_IPV6=1 export STACK_LIMIT_DEFAULTS_CHECK=1 sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \ - ${{ inputs.enableOpcache == 'true' && '-d opcache.enable_cli=1' }} \ + ${{ inputs.enableOpcache == 'true' && '-d opcache.enable_cli=1' || '' }} \ -d opcache.jit=${{ inputs.jitType }} \ -d opcache.protect_memory=1 \ -d opcache.jit_buffer_size=64M \