mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 06:16: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:
Oliver Klee 2020-11-29 15:04:50 +01:00 committed by GitHub
parent f9aac63ae7
commit 1d81f981f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
- -