[Scoped] Fixing scoped PHP 7.0 (#6287)

This commit is contained in:
Abdul Malik Ikhsan 2021-05-02 20:41:13 +07:00 committed by GitHub
parent bd94fe4459
commit 6f30affca4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,11 +33,7 @@ jobs:
COMPOSER_TOKEN: ${{ secrets.ACCESS_TOKEN }}
# install only prod dependencies - do not use ramsey, it uses cache including "dev", we want to avoid it here
- run: |
composer install --no-dev --ansi
composer clear-cache
composer config repositories.phpstan/phpstan-src vcs https://github.com/phpstan/phpstan-src
composer require phpstan/phpstan-src
- run: composer install --no-dev --ansi
# 1. copy files to $NESTED_DIRECTORY directory Exclude the scoped/nested directories to prevent rsync from copying in a loop
- run: rsync --exclude rector-build-php70 -av * rector-build-php70 --quiet