Improved cache keys for extensions in CI workflow to support several PHP versions when needed

This commit is contained in:
Alejandro Celaya
2022-08-13 10:11:41 +02:00
parent be82204df2
commit 1613975e0e
6 changed files with 36 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ jobs:
with:
php-version: ${{ matrix.php-version }}
extensions: ${{ env.extensions }}
key: db-tests-extensions-${{ inputs.platform }}
key: db-tests-extensions-${{ matrix.php-version }}-${{ inputs.platform }}
- name: Cache extensions
uses: actions/cache@v2
with: