Stop using set-env in GitHub actions.

This commit is contained in:
Alexander M. Turek 2020-10-18 13:29:30 +02:00
parent 427cf6982e
commit e3489d9b58
1 changed files with 2 additions and 2 deletions

View File

@ -58,8 +58,8 @@ jobs:
run: |
([ -d ~/.composer ] || mkdir ~/.composer) && cp .github/composer-config.json ~/.composer/config.json
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"
echo "SYMFONY_VERSION=$SYMFONY_VERSION" >> $GITHUB_ENV
echo "COMPOSER_ROOT_VERSION=$SYMFONY_VERSION.x-dev" >> $GITHUB_ENV
- name: Determine composer cache directory
id: composer-cache