Fix syntax error
Apparently in envs the OS etc. syntax is not supported, so we need to use it like this.
This commit is contained in:
parent
5f4fe52eab
commit
ab11fbeb47
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
name: PHP ${{ matrix.php-versions }} unit tests on ${{ matrix.operating-system }}
|
name: PHP ${{ matrix.php-versions }} unit tests on ${{ matrix.operating-system }}
|
||||||
env:
|
env:
|
||||||
extensions: gd, sqlite3
|
extensions: gd, sqlite3
|
||||||
extensions-cache-key: ${{ runner.os }}-phpextensions
|
extensions-cache-key-name: phpextensions
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
@ -36,14 +36,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php-versions }}
|
php-version: ${{ matrix.php-versions }}
|
||||||
extensions: ${{ env.extensions }}
|
extensions: ${{ env.extensions }}
|
||||||
key: ${{ env.extensions-cache-key }}
|
key: ${{ runner.os }}-${{ env.extensions-cache-key }}
|
||||||
|
|
||||||
- name: Cache extensions
|
- name: Cache extensions
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.extcache.outputs.dir }}
|
path: ${{ steps.extcache.outputs.dir }}
|
||||||
key: ${{ steps.extcache.outputs.key }}
|
key: ${{ steps.extcache.outputs.key }}
|
||||||
restore-keys: ${{ env.extensions-cache-key }}
|
restore-keys: ${{ runner.os }}-${{ env.extensions-cache-key }}
|
||||||
|
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user