You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using the cache-extensions action with setup-php, the extensions intl-72.1 and redis-6.0.2 are being installed fresh instead of being retrieved from the cache, despite being listed in the cache configuration.
Any idea what it could be?
Version
I have checked releases and the bug exists in the latest patch version: 1.10.0
Runners
GitHub Hosted
Operating systems
Current runner version: '2.311.0'
Operating System: Ubuntu 22.04.3 LTS
PHP versions
PHP version: 8.2
To Reproduce
Custom action:
name: Setup PHPinputs:
php-version:
description: "The PHP version to install"required: trueextensions:
description: "The PHP extensions to install"required: truedefault: "mbstring,bcmath,intl-72.1,gd,zip,redis-6.0.2,rdkafka"tools:
description: "Additional tools to install"required: falsedefault: ""ini-values:
description: "Additional ini configuration to use"required: falsedefault: "opcache.enable_cli=1, opcache.jit=disable, opcache.jit_buffer_size=64M"outputs:
php-version:
description: "The full PHP version (m.m.p) that was installed"value: ${{ steps.setup-php.outputs.php-version }}runs:
using: "composite"steps:
- name: Setup cache environmentid: extcacheuses: shivammathur/cache-extensions@1.10.0with:
php-version: ${{ inputs.php-version }}extensions: ${{ inputs.extensions }}key: php-build-v4
- name: Restore extension cacheuses: actions/cache@v3.3.1with:
path: ${{ steps.extcache.outputs.dir }}key: ${{ steps.extcache.outputs.key }}restore-keys: ${{ steps.extcache.outputs.key }}
- name: Setup PHPid: setup-phpuses: shivammathur/setup-php@2.27.1with:
php-version: ${{ inputs.php-version }}coverage: noneextensions: ${{ inputs.extensions }}tools: ${{ inputs.tools }}ini-values: ${{ inputs.ini-values }}env:
fail-fast: trueRDKAFKA_LIBS: librdkafka-dev
- name: Prepare configshell: bashrun: cp etc/circleci/.env.test .env.test.local
- uses: ramsey/composer-install@2.2.0
Describe the bug
When using the cache-extensions action with
setup-php
, the extensions intl-72.1 and redis-6.0.2 are being installed fresh instead of being retrieved from the cache, despite being listed in the cache configuration.Any idea what it could be?
Version
1.10.0
Runners
Operating systems
Current runner version: '2.311.0'
Operating System: Ubuntu 22.04.3 LTS
PHP versions
PHP version: 8.2
To Reproduce
Custom action:
Usage:
Expected behavior
The intl-72.1 and redis-6.0.2 extensions should be cached and simply enabled on subsequent runs without reinstalling.
Screenshots/Logs
The text was updated successfully, but these errors were encountered: