Fix tests on github actions

This commit is contained in:
Nicolas Grekas 2020-10-13 15:45:14 +02:00
parent f086821a26
commit af8a21f0af
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ jobs:
- name: Configure composer
run: |
([ -d ~/.composer ] || mkdir ~/.composer) && cp .github/composer-config.json ~/.composer/config.json
SYMFONY_VERSION=$(cat composer.json | grep '^ *\"version\". *\"[1-9]' | grep -o '[0-9.]*[0-9]')
SYMFONY_VERSION=$(cat composer.json | grep '^ *\"branch-version\". *\"[1-9]' | grep -o '[0-9.]*')
echo "::set-env name=SYMFONY_VERSION::$SYMFONY_VERSION"
echo "::set-env name=COMPOSER_ROOT_VERSION::$SYMFONY_VERSION.x-dev"