mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-26 05:56:13 +01:00
[BUGFIX] Fix cache keys for the Composer cache in GitHub Actions (#174)
The key must not be split across multiple lines.
This commit is contained in:
parent
f9aac63ae7
commit
1d81f981f9
1 changed files with 3 additions and 6 deletions
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
@ -48,8 +48,7 @@ jobs:
|
||||||
name: "Cache dependencies installed with composer"
|
name: "Cache dependencies installed with composer"
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
key: "php${{ matrix.php-version }}-
|
key: "php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}"
|
||||||
composer-${{ hashFiles('**/composer.json') }}"
|
|
||||||
path: ~/.composer/cache
|
path: ~/.composer/cache
|
||||||
restore-keys: "php${{ matrix.php-version }}-composer-\n"
|
restore-keys: "php${{ matrix.php-version }}-composer-\n"
|
||||||
-
|
-
|
||||||
|
@ -126,8 +125,7 @@ jobs:
|
||||||
name: "Cache dependencies installed with composer"
|
name: "Cache dependencies installed with composer"
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
key: "php${{ matrix.php-version }}
|
key: "php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}"
|
||||||
-composer-${{ hashFiles('**/composer.json') }}"
|
|
||||||
path: ~/.composer/cache
|
path: ~/.composer/cache
|
||||||
restore-keys: "php${{ matrix.php-version }}-composer-\n"
|
restore-keys: "php${{ matrix.php-version }}-composer-\n"
|
||||||
-
|
-
|
||||||
|
@ -185,8 +183,7 @@ jobs:
|
||||||
name: "Cache dependencies installed with composer"
|
name: "Cache dependencies installed with composer"
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
key: "php${{ matrix.php-version }}
|
key: "php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}"
|
||||||
-composer-${{ hashFiles('**/composer.json') }}"
|
|
||||||
path: ~/.composer/cache
|
path: ~/.composer/cache
|
||||||
restore-keys: "php${{ matrix.php-version }}-composer-\n"
|
restore-keys: "php${{ matrix.php-version }}-composer-\n"
|
||||||
-
|
-
|
||||||
|
|
Loading…
Reference in a new issue