mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-23 00:56:13 +01:00

[TASK] Only install Composer packages once in a CI build (#330)

If the CI build will do a composer update in the next step anyway,
there is no need to actually install any packages when requiring
the desired TYPO3 version.

Fixes #324
This commit is contained in:
Oliver Klee 2021-11-03 01:05:16 +01:00 committed by GitHub
parent bd68297b90
commit 696ec68eb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -122,7 +122,7 @@ jobs:
TYPO3: "${{ matrix.typo3-version }}" TYPO3: "${{ matrix.typo3-version }}"
name: "Install TYPO3 Core" name: "Install TYPO3 Core"
run: | run: |
composer require --no-progress typo3/minimal:"$TYPO3" composer require --no-ansi --no-interaction --no-progress --no-install typo3/minimal:"$TYPO3"
composer show composer show
- if: "matrix.composer-dependencies == 'lowest'" - if: "matrix.composer-dependencies == 'lowest'"
name: "Install lowest dependencies with composer" name: "Install lowest dependencies with composer"
@ -175,7 +175,7 @@ jobs:
TYPO3: "${{ matrix.typo3-version }}" TYPO3: "${{ matrix.typo3-version }}"
name: "Install TYPO3 Core" name: "Install TYPO3 Core"
run: | run: |
composer require --no-progress typo3/minimal:"$TYPO3" composer require --no-ansi --no-interaction --no-progress --no-install typo3/minimal:"$TYPO3"
composer show composer show
- if: "matrix.composer-dependencies == 'lowest'" - if: "matrix.composer-dependencies == 'lowest'"
name: "Install lowest dependencies with composer" name: "Install lowest dependencies with composer"