mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 09:16:13 +01:00
8204165d9c
We must not cache this directory. If it is cached, this might cause Composer to (re-)install dependency version that are not valid for the current PHP version, which possibly might break the build.
18 lines
390 B
YAML
18 lines
390 B
YAML
build-composer-dependencies:
|
|
extends: .default
|
|
stage: build
|
|
needs: [ ]
|
|
variables:
|
|
COMPOSER_CACHE_DIR: '.composer'
|
|
script:
|
|
- composer --version
|
|
- COMPOSER_CACHE_DIR=.composer
|
|
composer install --prefer-dist --no-progress --optimize-autoloader
|
|
artifacts:
|
|
when: on_success
|
|
expire_in: 2 weeks
|
|
paths:
|
|
- .Build
|
|
cache:
|
|
paths:
|
|
- .composer
|